/* V183.2 clean mobile layer. Desktop style.css remains untouched. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media(max-width:760px){
  :root{--m-container:430px;--m-gap:10px;--m-radius:14px;--m-blue:#0f3a5f;--m-line:#dfe8f4;--m-text:#10233f;--m-muted:#667085;--m-bg:#f6f8fb;--m-danger:#d92d20;--m-green:#099250}
  body{font-size:13px!important;line-height:1.32!important;overflow-x:hidden!important;background:#f6f8fb;color:var(--m-text)}
  .container{width:min(100% - 18px,var(--m-container))!important;max-width:var(--m-container)!important;margin-inline:auto!important;padding:8px 0 72px!important;overflow-x:hidden!important}
  h1{font-size:18px!important;line-height:1.16!important;margin:0 0 10px!important}h2{font-size:16px!important;line-height:1.18!important;margin:0 0 8px!important}h3{font-size:14px!important;line-height:1.22!important;margin:0 0 6px!important}.muted,small{font-size:11px!important;line-height:1.25!important;color:var(--m-muted)!important}.page-card,.form-card,.summary,.product-card,.cart-item{border-radius:var(--m-radius)!important;padding:10px!important;box-shadow:0 6px 18px rgba(15,35,65,.045)!important}
  input,select,textarea,button,.btn{font-size:12px!important;line-height:1.2!important;border-radius:10px!important}input,select,textarea{min-height:32px!important;padding:6px 8px!important;max-width:100%!important}textarea{min-height:58px!important;max-height:110px!important;resize:vertical!important}button,.btn{min-height:34px!important;padding:7px 10px!important;font-weight:800!important}.full{width:100%!important}
  input[type=number],.input-price{width:7ch!important;max-width:7ch!important;text-align:left!important}.input-qty,input[name*=qty],input[name*=stock],input[name*=quantity]{width:5ch!important;max-width:5ch!important}input[type=tel],input[inputmode=tel],input[name*=phone i]{width:17ch!important;max-width:17ch!important}input[type=email],input[name=email]{width:24ch!important;max-width:24ch!important}input[name=name],input[name=customer_name]{width:18ch!important;max-width:18ch!important}input[name=city]{width:14ch!important;max-width:14ch!important}
  .compact-field-row{display:flex!important;align-items:end!important;gap:7px!important;flex-wrap:wrap!important}.compact-field-row label,.checkout-form-compact label,.account-profile-form-compact label{font-size:11px!important;font-weight:750!important;gap:3px!important;min-width:0!important}.compact-field-row-2{display:flex!important;grid-template-columns:none!important}.compact-field-row input,.compact-field-row select,.compact-field-row textarea{width:auto!important}
  .header-strip,.header-center,.header-links,.messenger,.wa-header,.mobile-menu-toggle{display:none!important}.topbar{width:min(100% - 12px,var(--m-container))!important;margin-inline:auto!important;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:6px!important;padding:6px 0!important}.logo small{font-size:10px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.logo-title{font-size:18px!important}.logo-mark{width:34px!important;height:34px!important}.head-actions{display:flex!important;align-items:center!important;gap:5px!important;justify-content:flex-end!important}.mobile-home-link,.mobile-advisor-link,.mobile-search-toggle,.cart-link,.login-link{width:36px!important;height:38px!important;min-width:36px!important;border-radius:12px!important;padding:2px!important;display:inline-grid!important;place-items:center!important;text-align:center!important;font-size:15px!important;line-height:1!important}.mobile-advisor-link em,.login-link span{font-size:9px!important;line-height:1!important;max-width:34px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.cart-count{font-size:10px!important;min-width:16px!important;height:16px!important}.flash,.success,.notice{display:none!important}body:not(.page-catalog) .mobile-search-toggle{opacity:.35!important;pointer-events:none!important}
  .page-login .site-header,.page-register .site-header{display:block!important;background:transparent!important;box-shadow:none!important;border:0!important}.page-login .topbar,.page-register .topbar{display:flex!important;justify-content:center!important;padding-top:14px!important}.page-login .head-actions,.page-register .head-actions{display:none!important}.page-login .container,.page-register .container{min-height:calc(100vh - 70px)!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding-top:14px!important}.auth-wrap.auth-standalone{width:min(100%,360px)!important;margin:0 auto!important}.auth-card{padding:16px!important;border-radius:18px!important}.auth-card h1{font-size:18px!important;text-align:center!important;margin-bottom:12px!important}.auth-card label{font-size:11px!important;font-weight:750!important}.auth-card input,.auth-card .btn{width:100%!important;max-width:260px!important;margin-inline:auto!important;display:block!important}
  .checkout-title{margin:2px 0 8px!important}.checkout-v183{display:block!important}.checkout-form-compact{padding:10px!important;border-radius:15px!important}.checkout-field-grid{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.checkout-row-secondary textarea{width:min(100%,230px)!important}.checkout-visible-total{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:7px 0!important;padding:8px 9px!important;border:1px solid var(--m-line)!important;border-radius:12px!important;background:#fff!important;font-size:12px!important}.checkout-visible-total b{font-size:15px!important}.checkout-summary-card{margin-top:8px!important;padding:10px!important}.checkout-summary-card h3{font-size:15px!important}.order-summary-list{display:grid!important;gap:6px!important}.order-summary-mini{padding:7px!important;border-radius:11px!important}.order-summary-title{font-size:11.5px!important;line-height:1.22!important}.order-summary-meta{font-size:11px!important}.checkout-mini-note{font-size:10.5px!important;text-align:center!important;margin:6px 0 0!important}
  .account-head-compact{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:9px 10px!important;margin:0 0 8px!important}.account-head-compact h1{font-size:18px!important;margin:0!important}.account-current-user{font-size:11px!important;margin:2px 0 0!important}.account-logout-btn{width:56px!important;min-width:56px!important;font-size:11px!important}.account-grid-compact{display:block!important}.account-profile-compact,.account-orders-compact{padding:10px!important;margin-bottom:8px!important}.account-profile-compact h2,.account-orders-compact h2{font-size:15px!important}.account-profile-form-compact{gap:7px!important}.account-profile-form-compact .btn{width:auto!important;min-width:110px!important}.account-orders-lines{gap:5px!important}.account-order-line{display:grid!important;grid-template-columns:1fr 58px 74px 20px!important;align-items:center!important;gap:5px!important;padding:7px 8px!important;border:1px solid #e5ecf6!important;border-radius:11px!important;background:#fff!important;text-decoration:none!important;color:var(--m-text)!important;font-size:10.5px!important;line-height:1.15!important}.account-order-line-main{font-weight:900!important;color:#082f55!important}.account-order-line-date{color:var(--m-muted)!important}.account-order-line-total{font-weight:900!important;text-align:right!important}.account-order-line .status-pill{font-size:0!important;width:14px!important;height:14px!important;padding:0!important;border-radius:50%!important;justify-self:end!important}.account-order-line .status-pill::after{content:'+';font-size:11px!important;color:#fff!important;display:grid!important;place-items:center!important;width:100%!important;height:100%!important}
  .order-compact-page{padding:10px!important}.order-compact-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important}.order-compact-head h1{font-size:17px!important}.order-compact-meta{display:flex!important;justify-content:space-between!important;gap:8px!important;border:1px solid #e5ecf6!important;border-radius:12px!important;padding:7px 8px!important;font-size:11px!important}.order-compact-meta b{font-size:14px!important}.order-compact-customer{display:flex!important;flex-wrap:wrap!important;gap:5px 9px!important;font-size:10.5px!important;color:var(--m-muted)!important}.order-compact-page h2{font-size:15px!important;margin:8px 0 6px!important}.order-compact-items{display:grid!important;gap:5px!important}.order-compact-item{display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important;border:1px solid #e5ecf6!important;border-radius:11px!important;padding:6px!important}.order-compact-item img{width:36px!important;height:36px!important;border-radius:9px!important;object-fit:cover!important}.order-compact-item b{font-size:11.5px!important;line-height:1.16!important}.order-compact-item small{font-size:10px!important}.order-compact-item strong{font-size:11px!important;white-space:nowrap!important}.order-compact-comment{font-size:10.5px!important;padding:7px!important;border:1px solid #e5ecf6!important;border-radius:11px!important}
  .product-card{padding:7px!important}.product-card .img img{max-height:150px!important;object-fit:cover!important}.product-body{padding:7px!important}.product-body h3{font-size:12.5px!important;line-height:1.2!important;min-height:0!important}.product-body p{font-size:11px!important;line-height:1.25!important;margin:4px 0!important}.price-row b{font-size:13.5px!important}.product-stock-line{font-size:10.5px!important;margin:3px 0!important}.product-card .add-cart-btn{min-height:32px!important;font-size:11px!important;padding:6px 8px!important}.add-cart-btn.is-added{background:#e8f7ef!important;color:#15934f!important;border-color:#bde9cf!important;pointer-events:none!important}.related-products-section{display:none!important}
  .product-page-detail h1{font-size:18px!important}.product-page-detail .product-buy-form .add-cart-btn{min-width:88px!important;width:auto!important}.product-page-detail img{max-height:260px!important;object-fit:contain!important}
  .cart-item{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:6px!important;padding:7px!important}.cart-item img{width:58px!important;height:58px!important;object-fit:cover!important;border-radius:10px!important}.cart-item-info b{font-size:11.5px!important;line-height:1.18!important}.cart-item-price,.cart-line-total{font-size:10.5px!important}.qty-control{display:grid!important;grid-template-columns:28px 38px 28px!important;gap:3px!important}.qty-control button,.qty-control input{height:28px!important;min-height:28px!important;padding:0!important;text-align:center!important}.cart-remove{font-size:10px!important;min-height:28px!important;padding:4px 7px!important}.cart-bottom-bar,.cart-total.mobile-cart-actions{position:sticky!important;bottom:6px!important;left:auto!important;right:auto!important;width:100%!important;max-width:100%!important;margin:7px 0 0!important;display:grid!important;grid-template-columns:minmax(0,1fr) 40px 40px!important;gap:6px!important;align-items:center!important;padding:9px!important;border:1px solid var(--m-line)!important;border-radius:15px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 12px 28px rgba(15,35,65,.12)!important;z-index:15!important}.cart-bottom-bar b{grid-column:1/-1!important;font-size:13px!important;background:transparent!important;border:0!important;padding:0!important}.cart-checkout-btn{grid-column:1!important;width:100%!important;min-width:0!important;height:40px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}.cart-send-icon{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:50%!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--m-line)!important;background:#fff!important}.cart-send-icon img{width:21px!important;height:21px!important}.desktop-cart-catalog{display:none!important}
  .fly-to-cart{position:fixed!important;z-index:999999!important;pointer-events:none!important;object-fit:cover!important;border-radius:13px!important;box-shadow:0 14px 30px rgba(15,35,65,.25)!important;will-change:transform,opacity!important}.cart-pulse{animation:cartPulseV183 .55s ease both!important}@keyframes cartPulseV183{0%{transform:scale(1)}40%{transform:scale(1.16)}100%{transform:scale(1)}}
  .cart-send-wa,.cart-send-tg,.user-whatsapp,.user-telegram,.ma-round-icon{border-radius:50%!important}.mobile-footer-nav{font-size:11px!important;gap:8px!important}.footer{font-size:11px!important;padding:12px 9px!important}
}

@media(max-width:380px){.container{width:min(100% - 14px,430px)!important}.checkout-field-grid,.compact-field-row,.account-profile-form-compact .compact-field-row{display:grid!important;grid-template-columns:1fr 1fr!important}.checkout-row-secondary{grid-template-columns:1fr!important}.account-order-line{grid-template-columns:1fr 54px 64px 18px!important;font-size:10px!important}.cart-bottom-bar{grid-template-columns:minmax(0,1fr) 38px 38px!important}.cart-send-icon{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}}

/* V183.3 final mobile polish: typography, cart footer, forms, login, added state. */
@media(max-width:760px){
  body{font-size:12.5px!important;line-height:1.28!important;}
  .container{padding-bottom:86px!important;}
  h1{font-size:17px!important;line-height:1.12!important;}
  h2{font-size:15px!important;line-height:1.14!important;}
  h3{font-size:13px!important;line-height:1.16!important;}
  input,select,textarea,button,.btn{font-size:11px!important;line-height:1.15!important;}
  .product-body h3,.cart-item-info b,.order-summary-title{font-size:11.5px!important;line-height:1.16!important;}
  .product-body small,.product-stock-line,.cart-stock-note,.cart-item-info small,.product-body p{font-size:10px!important;line-height:1.18!important;}
  .price-row b{font-size:12.5px!important;}

  /* Login/register: real vertical centering, no sunken card. */
  body.page-login,body.page-register{min-height:100vh!important;}
  .page-login .site-header,.page-register .site-header{min-height:0!important;}
  .page-login .topbar,.page-register .topbar{height:auto!important;padding:10px 0 4px!important;}
  .page-login .container,.page-register .container{
    min-height:calc(100vh - 74px)!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0 0 18px!important;
  }
  .auth-wrap.auth-standalone{width:min(100% - 16px,330px)!important;}
  .auth-card{padding:14px!important;border-radius:16px!important;}
  .auth-card h1{font-size:17px!important;margin-bottom:10px!important;}
  .auth-card input{height:34px!important;min-height:34px!important;max-width:230px!important;}
  .auth-card .btn{height:34px!important;min-height:34px!important;max-width:230px!important;}

  /* Catalog/product cards: added state replaces cart visually, not duplicated on photo. */
  .product-card .img::after{display:none!important;content:none!important;}
  .product-card.is-in-cart .img::after{display:none!important;content:none!important;}
  .product-card .add-cart-btn{width:34px!important;height:32px!important;min-height:32px!important;min-width:34px!important;font-size:0!important;padding:0!important;border-radius:10px!important;margin-left:auto!important;align-self:flex-end!important;}
  .product-card .add-cart-btn::before{content:'🛒';font-size:15px!important;line-height:1!important;}
  .product-card .add-cart-btn.is-added{width:28px!important;height:28px!important;min-height:28px!important;min-width:28px!important;border-radius:50%!important;background:#eef6f2!important;color:#0a7f37!important;border:1px solid #b9dfc9!important;box-shadow:none!important;}
  .product-card .add-cart-btn.is-added::before{content:'✓'!important;font-size:14px!important;font-weight:900!important;}
  .product-card .add-cart-btn.is-added{pointer-events:none!important;}
  .product-page-detail .product-buy-form .add-cart-btn.is-added{width:auto!important;min-width:84px!important;height:34px!important;font-size:11px!important;border-radius:11px!important;}
  .product-page-detail .product-buy-form .add-cart-btn.is-added::before{content:''!important;}

  /* Cart items and actions. */
  .cart-item{grid-template-columns:54px minmax(0,1fr) 34px!important;align-items:center!important;position:relative!important;}
  .cart-item-photo img,.cart-item img{width:54px!important;height:54px!important;}
  .cart-item-price,.cart-line-total{display:none!important;}
  .qty-control{grid-column:2!important;grid-row:2!important;grid-template-columns:25px 34px 25px!important;width:max-content!important;}
  .qty-control button,.qty-control input{height:25px!important;min-height:25px!important;}
  .cart-remove{grid-column:3!important;grid-row:1 / span 2!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;border-radius:50%!important;padding:0!important;font-size:14px!important;color:#d92d20!important;background:#fff!important;border:1px solid #ffd0cf!important;overflow:hidden!important;}
  .cart-remove::before,.cart-remove::after{content:none!important;}
  .cart-bottom-bar,.cart-total.mobile-cart-actions{
    position:sticky!important;bottom:8px!important;left:auto!important;right:auto!important;
    width:100%!important;max-width:100%!important;margin:8px auto 0!important;
    display:grid!important;grid-template-columns:1fr 40px 40px!important;gap:7px!important;padding:8px!important;
    transform:none!important;overflow:hidden!important;
  }
  .cart-bottom-bar b{grid-column:1/-1!important;font-size:12px!important;line-height:1.1!important;margin:0!important;}
  .cart-checkout-btn{height:38px!important;min-height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;border-radius:12px!important;}
  .cart-send-icon{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;}
  .cart-send-icon img{width:19px!important;height:19px!important;}

  /* Checkout: city + comment in one line, total visible. */
  .checkout-field-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;align-items:end!important;}
  .checkout-field-grid label{min-width:0!important;}
  .checkout-field-grid input,.checkout-field-grid textarea{width:100%!important;max-width:100%!important;}
  .checkout-field-grid textarea{min-height:34px!important;height:34px!important;max-height:70px!important;}
  .checkout-form-compact{padding:9px!important;}
  .checkout-visible-total{font-size:11px!important;padding:7px 8px!important;}
  .checkout-visible-total b{font-size:13px!important;}

  /* Account and order rows: one line, no overlap. */
  .account-order-line{grid-template-columns:minmax(0,1fr) 54px 64px 18px!important;gap:5px!important;font-size:10px!important;}
  .account-order-line-date,.account-order-line-total{white-space:nowrap!important;}
  .account-profile-form-compact{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;}
  .account-profile-form-compact input{width:100%!important;max-width:100%!important;height:32px!important;min-height:32px!important;}

  .fly-to-cart{will-change:transform,opacity!important;}
  .cart-pulse{animation:cartPulseV1833 .42s ease!important;}
  @keyframes cartPulseV1833{0%,100%{transform:scale(1)}45%{transform:scale(1.16)}}
}


/* V183.4 — final mobile hotfix: no fly animation, compact cart, checkout collapse */
@media (max-width:760px){
  body,
  body input,
  body select,
  body textarea,
  body button,
  body .btn{
    font-size:14px!important;
    line-height:1.35!important;
  }
  body h1,
  body .checkout-title,
  body .auth-card h1,
  body .account-head-compact h1{
    font-size:18px!important;
    line-height:1.15!important;
  }
  body h2,
  body .account-profile-compact h2,
  body .account-orders-compact h2,
  body .checkout-summary-card h3{
    font-size:16px!important;
    line-height:1.2!important;
  }
  body small,
  body .muted,
  body .product-stock-line,
  body .cart-stock-note,
  body .order-summary-meta{
    font-size:12px!important;
    line-height:1.3!important;
  }
  body .product-body h3,
  body .cart-item-info b{
    font-size:14px!important;
    line-height:1.22!important;
  }
  body .price-row b{font-size:13px!important;}

  /* Catalog: either cart icon or small added mark, never both */
  .product-card .img::after,
  .product-card.is-in-cart .img::after{
    content:none!important;
    display:none!important;
  }
  .product-card .add-cart-btn{
    inline-size:34px!important;
    block-size:34px!important;
    min-inline-size:34px!important;
    min-block-size:34px!important;
    padding:0!important;
    margin-left:auto!important;
    display:inline-grid!important;
    place-items:center!important;
    overflow:hidden!important;
    border-radius:10px!important;
    font-size:0!important;
  }
  .product-card .add-cart-btn::before{
    content:'🛒';
    font-size:15px!important;
    line-height:1!important;
  }
  .product-card .add-cart-btn.is-added{
    inline-size:26px!important;
    block-size:26px!important;
    min-inline-size:26px!important;
    min-block-size:26px!important;
    border-radius:999px!important;
    background:#eef4fb!important;
    border:1px solid #cfe0f1!important;
    color:#0f3a5f!important;
    box-shadow:none!important;
    pointer-events:none!important;
  }
  .product-card .add-cart-btn.is-added::before{content:none!important;}
  .product-card .add-cart-btn .btn-added-mark{
    display:grid!important;
    place-items:center!important;
    inline-size:100%!important;
    block-size:100%!important;
    font-size:13px!important;
    font-weight:800!important;
    line-height:1!important;
  }
  .product-card .add-cart-btn .btn-added-text{display:none!important;}
  .product-page-detail .add-cart-btn.is-added,
  .product-detail .add-cart-btn.is-added{
    min-inline-size:92px!important;
    inline-size:auto!important;
    block-size:34px!important;
    padding:0 10px!important;
    border-radius:11px!important;
  }
  .product-page-detail .add-cart-btn.is-added .btn-added-mark,
  .product-detail .add-cart-btn.is-added .btn-added-mark{display:none!important;}
  .product-page-detail .add-cart-btn.is-added .btn-added-text,
  .product-detail .add-cart-btn.is-added .btn-added-text{
    display:inline!important;
    font-size:11px!important;
    font-weight:800!important;
  }

  /* Cart item: quantity counter near article, not a large separate row */
  .cart-item{
    grid-template-columns:54px minmax(0,1fr) 30px!important;
    grid-template-areas:"photo info remove" "photo price remove" "photo total remove"!important;
    align-items:start!important;
    gap:7px!important;
  }
  .cart-item-photo{grid-area:photo!important;}
  .cart-item-info{
    grid-area:info!important;
    display:grid!important;
    gap:4px!important;
    min-width:0!important;
  }
  .cart-item-price{grid-area:price!important;}
  .cart-line-total{grid-area:total!important;}
  .cart-meta-row{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    min-width:0!important;
  }
  .cart-article{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .cart-meta-row .qty-control{
    grid-column:auto!important;
    grid-row:auto!important;
    margin-left:auto!important;
    width:auto!important;
    min-width:80px!important;
    display:grid!important;
    grid-template-columns:24px 32px 24px!important;
    gap:2px!important;
    flex:0 0 auto!important;
  }
  .cart-meta-row .qty-control button,
  .cart-meta-row .qty-control input{
    height:24px!important;
    min-height:24px!important;
    padding:0!important;
    text-align:center!important;
    font-size:11px!important;
  }
  .cart-remove{
    grid-area:remove!important;
    align-self:start!important;
    justify-self:end!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
    padding:0!important;
    font-size:14px!important;
  }

  /* Stable mobile cart footer */
  .cart-total.mobile-cart-actions.cart-bottom-bar,
  .cart-bottom-bar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    padding:8px!important;
    position:sticky!important;
    bottom:8px!important;
    transform:none!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    max-width:100%!important;
    margin:8px auto 0!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid #dce7f3!important;
    box-shadow:0 12px 28px rgba(15,35,65,.16)!important;
    overflow:hidden!important;
  }
  .cart-bottom-bar > b{
    grid-column:auto!important;
    margin:0!important;
    font-size:12px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    background:transparent!important;
    border:0!important;
    padding:0!important;
    text-align:center!important;
  }
  .cart-bottom-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
  }
  .cart-checkout-btn{
    width:auto!important;
    min-width:0!important;
    max-width:180px!important;
    flex:0 1 180px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 14px!important;
    border-radius:12px!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
  .cart-send-icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#fff!important;
    border:1px solid #dce7f3!important;
    flex:0 0 auto!important;
  }
  .cart-send-icon img{width:18px!important;height:18px!important;display:block!important;}

  /* Checkout: form first, summary collapsed */
  .checkout.checkout-compact,
  .checkout-v183{display:block!important;}
  .checkout-form-card.checkout-form-compact{
    padding:10px!important;
    border-radius:15px!important;
  }
  .checkout-field-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    align-items:end!important;
  }
  .checkout-field-grid input,
  .checkout-field-grid textarea{width:100%!important;max-width:100%!important;}
  .checkout-field-grid textarea{
    min-height:34px!important;
    height:34px!important;
    max-height:72px!important;
  }
  .checkout-order-details{
    margin-top:8px!important;
    padding:8px!important;
    border-radius:14px!important;
  }
  .checkout-order-toggle{
    display:block!important;
    cursor:pointer!important;
    list-style:none!important;
    font-size:12px!important;
    font-weight:700!important;
    color:#0f3a5f!important;
  }
  .checkout-order-toggle::-webkit-details-marker{display:none!important;}
  .checkout-order-details-body{margin-top:8px!important;display:grid!important;gap:6px!important;}
  .checkout-summary-card h3{font-size:14px!important;margin:0!important;}
  .checkout-summary-card .order-summary-list{gap:6px!important;}
  .checkout-summary-card .order-summary-item{padding:7px!important;border-radius:10px!important;}
  .checkout-summary-card .order-summary-title{font-size:11.5px!important;line-height:1.2!important;}
  .checkout-summary-card .order-summary-meta{
    font-size:10.5px!important;
    gap:4px!important;
    display:flex!important;
    justify-content:space-between!important;
  }
  .checkout-summary-card .checkout-grand-total{font-size:13px!important;}

  /* Login/register true vertical centering */
  body.page-login main.container,
  body.page-register main.container{
    min-height:calc(100dvh - 74px)!important;
    display:grid!important;
    place-items:center!important;
    padding:12px 0 24px!important;
  }
  body.page-login .auth-wrap.auth-standalone,
  body.page-register .auth-wrap.auth-standalone{
    width:min(100% - 16px,340px)!important;
    margin:0 auto!important;
  }
  body.page-login .auth-card,
  body.page-register .auth-card{
    padding:14px!important;
    border-radius:16px!important;
  }

  /* Compact user account order lines */
  .account-order-line{
    grid-template-columns:minmax(0,1fr) 46px 58px 16px!important;
    gap:4px!important;
  }
  .account-order-line-main,
  .account-order-line-date,
  .account-order-line-total{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .account-order-line-date,
  .account-order-line-total{font-size:9.5px!important;}
}


/* V183.5 — final checkout summary + login/header fixes */
@media (max-width:760px){
  /* checkout: compact collapsed order details by default */
  .checkout-order-details:not([open]) .checkout-order-details-body{
    display:none!important;
  }

  .checkout-order-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    min-height:30px!important;
    padding:4px 6px!important;
    font-size:11.5px!important;
    line-height:1.1!important;
  }

  .checkout-order-toggle b::before{
    content:'+';
    display:grid!important;
    place-items:center!important;
    width:20px!important;
    height:20px!important;
    border-radius:999px!important;
    background:#eef4fb!important;
    color:#0f3a5f!important;
    font-size:13px!important;
    font-weight:600!important;
  }

  .checkout-order-details[open] .checkout-order-toggle b::before{
    content:'−';
  }

  /* login/register: remove old large spacer and keep form visually centered under the compact header */
  body.page-login main.container,
  body.page-register main.container{
    min-height:auto!important;
    height:auto!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:28px 0 22px!important;
  }

  body.page-login .site-header,
  body.page-register .site-header{
    background:#fff!important;
    border:1px solid #dde7f2!important;
    border-radius:0 0 14px 14px!important;
    box-shadow:none!important;
    margin:0 auto!important;
    width:min(100% - 16px,var(--m-container))!important;
  }

  body.page-login .topbar,
  body.page-register .topbar{
    width:100%!important;
    min-height:92px!important;
    padding:10px 8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
  }

  body.page-login .logo.logo-combo,
  body.page-register .logo.logo-combo{
    max-width:260px!important;
    text-align:left!important;
  }

  body.page-login .logo-mark,
  body.page-register .logo-mark{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
  }

  body.page-login .logo-title,
  body.page-register .logo-title{
    font-size:20px!important;
    color:#5b6675!important;
    max-width:150px!important;
  }

  body.page-login .logo small,
  body.page-register .logo small{
    font-size:11px!important;
    line-height:1.15!important;
    max-width:230px!important;
    margin-top:2px!important;
    display:block!important;
  }

  body.page-login .auth-wrap.auth-standalone,
  body.page-register .auth-wrap.auth-standalone{
    width:min(100% - 20px,340px)!important;
    margin:0 auto!important;
  }
}


/* V183.6 — checkout compact printable table + real login centering */
@media (max-width:760px){
  /* Login/register: old desktop auth-standalone had min-height and pushed form down. */
  body.page-login main.container,
  body.page-register main.container{
    min-height:0!important;
    height:auto!important;
    display:block!important;
    padding:10px 0 22px!important;
  }

  body.page-login .auth-wrap.auth-standalone,
  body.page-register .auth-wrap.auth-standalone{
    min-height:0!important;
    height:auto!important;
    display:block!important;
    align-items:initial!important;
    justify-content:initial!important;
    padding:0!important;
    margin:10px auto 0!important;
    width:min(100% - 20px,340px)!important;
  }

  body.page-login .auth-wrap.auth-standalone .form-card,
  body.page-register .auth-wrap.auth-standalone .form-card{
    width:100%!important;
    margin:0 auto!important;
  }

  /* Checkout summary: collapsed header is small; opened content is a simple print-like table. */
  .checkout-order-details{
    padding:6px!important;
    margin-top:8px!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }

  .checkout-order-toggle{
    min-height:28px!important;
    padding:3px 6px!important;
    border:1px solid #d9e4f0!important;
    border-radius:9px!important;
    background:#fff!important;
    font-size:11px!important;
    font-weight:800!important;
  }

  .checkout-order-toggle b::before{
    width:18px!important;
    height:18px!important;
    font-size:12px!important;
    background:#eef4fb!important;
  }

  .checkout-order-details-body{
    margin-top:5px!important;
    display:block!important;
  }

  .checkout-order-details:not([open]) .checkout-order-details-body{
    display:none!important;
  }

  .checkout-order-table{
    width:100%!important;
    border:1px solid #d7e2ef!important;
    border-radius:8px!important;
    overflow:hidden!important;
    background:#fff!important;
    font-size:10.5px!important;
    line-height:1.15!important;
  }

  .checkout-order-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px 66px!important;
    align-items:center!important;
    gap:4px!important;
    min-height:24px!important;
    padding:4px 6px!important;
    border-bottom:1px solid #e6edf6!important;
    color:#23364d!important;
  }

  .checkout-order-row:last-child{border-bottom:0!important;}

  .checkout-order-head{
    background:#f4f7fb!important;
    color:#667085!important;
    font-size:9.5px!important;
    font-weight:700!important;
  }

  .checkout-order-name{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-weight:500!important;
  }

  .checkout-order-qty{
    text-align:center!important;
    white-space:nowrap!important;
    color:#667085!important;
  }

  .checkout-order-price{
    text-align:right!important;
    white-space:nowrap!important;
    font-weight:600!important;
  }

  .checkout-order-total{
    background:#fbfcfe!important;
    font-weight:700!important;
  }

  .checkout-order-total span{
    font-size:10.5px!important;
    line-height:1.15!important;
  }

  .checkout-order-total span:last-child{
    text-align:right!important;
    color:#0f3a5f!important;
  }
}


/* V183.8: account fields normal text + header user label restored */
@media (max-width:760px){
  .account-profile-form-compact input,
  .account-profile-form-compact select,
  .account-profile-form-compact textarea{
    font-size:12px!important;
    font-weight:500!important;
    line-height:1.15!important;
    padding:0 8px!important;
    letter-spacing:0!important;
    overflow:hidden!important;
    text-overflow:clip!important;
  }

  .account-profile-form-compact label{
    font-size:10.5px!important;
    font-weight:750!important;
  }

  .account-profile-form-compact .compact-field-row{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }

  .site-header .login-link.js-role-account-link{
    position:relative!important;
    overflow:visible!important;
    display:inline-flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    padding:1px 2px 9px!important;
    font-size:15px!important;
    line-height:1!important;
  }

  .site-header .login-link.js-role-account-link span{
    display:block!important;
    position:absolute!important;
    left:50%!important;
    bottom:2px!important;
    transform:translateX(-50%)!important;
    max-width:36px!important;
    width:max-content!important;
    font-size:8.5px!important;
    font-weight:800!important;
    line-height:1!important;
    color:#0f3a5f!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    pointer-events:none!important;
  }
}

@media (max-width:380px){
  .account-profile-form-compact .compact-field-row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* RC57 — full mobile catalog and compact sticky-to-bottom public footer. */
@media (max-width:768px){
  html{min-height:100%!important;}
  body.page-index,
  body.page-catalog{
    min-height:100vh!important;
    min-height:100svh!important;
    display:flex!important;
    flex-direction:column!important;
  }
  body.page-index>.container,
  body.page-catalog>.container{
    flex:1 0 auto!important;
    width:100%!important;
    padding-bottom:8px!important;
  }
  body.page-index .catalog-load-more,
  body.page-catalog .catalog-load-more,
  body.page-index .pagination,
  body.page-catalog .pagination{
    display:none!important;
  }
  body.page-index>.footer,
  body.page-catalog>.footer{
    flex:0 0 auto!important;
    width:100%!important;
    min-height:0!important;
    margin-top:auto!important;
    padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px))!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    align-items:center!important;
    gap:4px!important;
    text-align:center!important;
    font-size:10.5px!important;
    line-height:1.2!important;
  }
  body.page-index>.footer .mobile-footer-nav,
  body.page-catalog>.footer .mobile-footer-nav{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:center!important;
    gap:10px!important;
    width:100%!important;
    margin:0 0 2px!important;
    padding:0!important;
    font-size:10px!important;
    line-height:1.15!important;
  }
  body.page-index>.footer .mobile-footer-nav a,
  body.page-catalog>.footer .mobile-footer-nav a{color:#fff!important;white-space:nowrap!important;}
  body.page-index>.footer>div:first-of-type,
  body.page-catalog>.footer>div:first-of-type{margin:0!important;line-height:1!important;}
  body.page-index>.footer>div:first-of-type>b,
  body.page-catalog>.footer>div:first-of-type>b{font-size:12px!important;line-height:1!important;}
  body.page-index>.footer>div:first-of-type>p,
  body.page-catalog>.footer>div:first-of-type>p{display:none!important;}
  body.page-index>.footer .footer-links,
  body.page-catalog>.footer .footer-links{
    display:grid!important;
    gap:2px!important;
    margin:0!important;
    font-size:10px!important;
    line-height:1.15!important;
  }
  body.page-index>.footer .visitor-counter,
  body.page-catalog>.footer .visitor-counter{font-size:9.5px!important;line-height:1.15!important;}
}

/* A2.33.21 RC37 — checkout-only mobile footer at the viewport bottom.
   This is a flow layout, not a fixed overlay: longer checkout content
   continues to push the footer below it normally. */
@media (max-width:768px){
  html:has(body.page-checkout){min-height:100%!important;}
  body.page-checkout{
    min-height:100svh!important;
    display:flex!important;
    flex-direction:column!important;
  }
  body.page-checkout>.site-header{flex:0 0 auto!important;}
  body.page-checkout>main.container{
    flex:1 0 auto!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  body.page-checkout>.footer{
    flex:0 0 auto!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin-top:auto!important;
  }
}

/* V183.9 — compact checkout fields + unified tiny mobile hints */
@media (max-width:760px){
  /* Checkout form: fields are input controls, not presentation cards */
  body .checkout-form-card.checkout-form-compact,
  body .checkout-form-compact{
    padding:8px!important;
    border-radius:14px!important;
  }

  body .checkout-field-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:5px 7px!important;
    align-items:end!important;
  }

  body .checkout-field-grid label,
  body .checkout-form-compact label,
  body .compact-field-row label{
    font-size:10px!important;
    line-height:1.05!important;
    font-weight:700!important;
    gap:2px!important;
  }

  body .checkout-field-grid input,
  body .checkout-field-grid textarea,
  body .checkout-form-compact input,
  body .checkout-form-compact textarea,
  body .checkout-form-compact select{
    height:28px!important;
    min-height:28px!important;
    max-height:32px!important;
    padding:3px 8px!important;
    border-radius:10px!important;
    font-size:12px!important;
    line-height:1.15!important;
    font-weight:400!important;
  }

  body .checkout-field-grid textarea,
  body .checkout-form-compact textarea{
    resize:none!important;
    overflow:hidden!important;
  }

  body .checkout-visible-total{
    min-height:30px!important;
    margin:5px 0!important;
    padding:5px 8px!important;
    font-size:11px!important;
    border-radius:10px!important;
  }

  body .checkout-visible-total b{
    font-size:12px!important;
    font-weight:700!important;
  }

  body .checkout-form-compact .btn,
  body .checkout-form-card .btn,
  body .checkout-submit{
    height:34px!important;
    min-height:34px!important;
    border-radius:11px!important;
    font-size:12px!important;
  }

  /* Unified hint/help microcopy across mobile */
  body .hint,
  body .form-hint,
  body .field-hint,
  body .help-text,
  body .muted-hint,
  body .checkout-mini-note,
  body .checkout-form-compact small,
  body .checkout-form-compact .muted,
  body .account-current-user,
  body .zoom-hint,
  body [class*="hint"]{
    font-size:10px!important;
    line-height:1.18!important;
    font-weight:500!important;
  }

  body input::placeholder,
  body textarea::placeholder{
    font-size:10.5px!important;
    font-weight:400!important;
    opacity:.72!important;
  }

  /* Account inputs: keep value readable but not bold/overflowing */
  body .account-profile-form-compact input,
  body .account-profile-form input{
    font-size:12px!important;
    font-weight:400!important;
    height:30px!important;
    min-height:30px!important;
    padding:3px 7px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

/* V183.10 — extra compact mobile checkout controls + unified micro hints */
@media (max-width:760px){
  body .checkout-form-card.checkout-form-compact,
  body .checkout-form-compact{padding:7px!important;border-radius:13px!important;}
  body .checkout-field-grid{gap:4px 6px!important;}
  body .checkout-field-grid label,
  body .checkout-form-compact label{font-size:9.5px!important;line-height:1.05!important;font-weight:700!important;}
  body .checkout-field-grid input,
  body .checkout-field-grid textarea,
  body .checkout-form-compact input,
  body .checkout-form-compact textarea,
  body .checkout-form-compact select{
    height:24px!important;min-height:24px!important;max-height:26px!important;padding:2px 7px!important;
    border-radius:9px!important;font-size:11px!important;line-height:1.1!important;font-weight:400!important;
  }
  body .checkout-field-grid textarea,
  body .checkout-form-compact textarea{resize:none!important;overflow:hidden!important;}
  body .checkout-visible-total{min-height:26px!important;margin:4px 0!important;padding:4px 7px!important;font-size:10.5px!important;border-radius:9px!important;}
  body .checkout-visible-total b{font-size:11px!important;font-weight:700!important;}
  body .checkout-form-compact .btn,
  body .checkout-submit{height:30px!important;min-height:30px!important;border-radius:10px!important;font-size:11px!important;}
  body .checkout-mini-note,
  body .hint,body .form-hint,body .field-hint,body .help-text,body .muted-hint,body [class*="hint"]{
    font-size:9.5px!important;line-height:1.15!important;font-weight:500!important;
  }
  body input::placeholder,body textarea::placeholder{font-size:9.5px!important;line-height:1.1!important;opacity:.7!important;}
}

/* V4.0 final cleanup — mobile auth grid, checkout compact buttons and hints */
@media (max-width:760px){
  .auth-card label{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    margin:0 0 8px!important;
    font-size:12px!important;
    font-weight:650!important;
  }
  .auth-card label input{
    width:100%!important;
    max-width:100%!important;
    height:34px!important;
    min-height:34px!important;
    padding:0 10px!important;
    font-size:12px!important;
    font-weight:500!important;
    border-radius:10px!important;
  }
  .auth-card .btn{width:100%!important;min-height:36px!important;font-size:12px!important;}
  .checkout-form-card label{font-size:10.5px!important;font-weight:650!important;}
  .checkout-form-card input,
  .checkout-form-card textarea{
    height:25px!important;
    min-height:25px!important;
    padding:2px 7px!important;
    font-size:11px!important;
    font-weight:500!important;
    border-radius:8px!important;
  }
  .checkout-form-card textarea{height:30px!important;min-height:30px!important;max-height:54px!important;line-height:1.15!important;}
  .checkout-mini-note{font-size:9.5px!important;line-height:1.2!important;margin:4px 0!important;}
  .checkout-send-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;}
  .checkout-send-btn{min-height:34px!important;padding:0 6px!important;font-size:10.5px!important;line-height:1.08!important;border-radius:10px!important;}
}


/* V4.0 stage 3 — mobile visible order-send buttons */
@media(max-width:760px){
  .cart-bottom-bar,.cart-total.mobile-cart-actions{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .cart-send-order-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    width:100%!important;
  }
  .cart-send-order-btn{
    width:100%!important;
    min-height:36px!important;
    padding:0 6px!important;
    border-radius:10px!important;
    font-size:10.5px!important;
    line-height:1.05!important;
    white-space:normal!important;
    text-align:center!important;
  }
  .checkout-send-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    width:100%!important;
  }
  .checkout-send-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:34px!important;
    padding:0 6px!important;
    font-size:10.5px!important;
    line-height:1.08!important;
    border-radius:10px!important;
    white-space:normal!important;
  }
  .auth-card label{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    align-items:start!important;
  }
}

/* V4.0 stage 4 — mobile short messenger buttons */
@media(max-width:760px){
  .cart-send-order-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    width:100%!important;
    max-width:none!important;
    margin:0 auto!important;
  }
  .cart-send-order-label{
    grid-column:1/-1!important;
    display:block!important;
    text-align:center!important;
    color:#667085!important;
    font-size:10.5px!important;
    font-weight:800!important;
    line-height:1.1!important;
    margin:0!important;
  }
  .cart-send-order-btn{
    width:100%!important;
    min-height:34px!important;
    padding:0 8px!important;
    border-radius:10px!important;
    font-size:11px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .checkout-send-block{display:grid!important;gap:6px!important;width:100%!important;}
  .checkout-send-label{font-size:10.5px!important;color:#667085!important;font-weight:800!important;text-align:center!important;line-height:1.1!important;}
  .checkout-send-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;width:100%!important;max-width:none!important;margin:0 auto!important;}
  .checkout-send-btn{min-height:34px!important;padding:0 8px!important;font-size:11px!important;line-height:1!important;border-radius:10px!important;white-space:nowrap!important;}
}

/* V4.1 — Instagram-style mobile catalog grid */
@media(max-width:760px){
  body.page-catalog .catalog-title-row,
  body.page-index .section-head{
    align-items:center!important;
    margin:4px 0 8px!important;
  }
  body.page-catalog .catalog-title-row h2,
  body.page-index .section-head h2{
    font-size:14px!important;
    line-height:1.1!important;
    margin:0!important;
    font-weight:900!important;
  }
  body.page-catalog .mobile-catalog-controls{
    gap:6px!important;
    margin:0 0 8px!important;
  }
  body.page-catalog .mobile-category-form select{
    height:34px!important;
    min-height:34px!important;
    font-size:11px!important;
  }

  body.page-catalog .product-grid,
  body.page-index .product-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
    align-items:start!important;
  }

  body.page-catalog .product-card,
  body.page-index .product-card{
    position:relative!important;
    display:block!important;
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    border:0!important;
    border-radius:9px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 3px 10px rgba(15,35,65,.055)!important;
    aspect-ratio:1/1!important;
  }

  body.page-catalog .product-card:hover,
  body.page-index .product-card:hover{
    transform:none!important;
    box-shadow:0 3px 10px rgba(15,35,65,.065)!important;
  }

  body.page-catalog .product-card .img,
  body.page-index .product-card .img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    flex:0 0 auto!important;
    padding:0!important;
    border-radius:9px!important;
    overflow:hidden!important;
    background:#f4f7fb!important;
  }

  body.page-catalog .product-card .img picture,
  body.page-index .product-card .img picture,
  body.page-catalog .product-card .img img,
  body.page-index .product-card .img img{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:cover!important;
    border-radius:0!important;
    display:block!important;
  }

  body.page-catalog .product-card .sale-badge,
  body.page-index .product-card .sale-badge{
    left:4px!important;
    top:4px!important;
    padding:2px 5px!important;
    border-radius:999px!important;
    font-size:9px!important;
    line-height:1.1!important;
    z-index:3!important;
  }

  body.page-catalog .product-card .product-body,
  body.page-index .product-card .product-body{
    position:absolute!important;
    inset:0!important;
    padding:0!important;
    display:block!important;
    pointer-events:none!important;
    background:linear-gradient(180deg,rgba(0,0,0,0) 58%,rgba(0,0,0,.28) 100%)!important;
  }

  body.page-catalog .product-card .product-body small,
  body.page-catalog .product-card .product-body h3,
  body.page-catalog .product-card .product-body p,
  body.page-catalog .product-card .product-stock-line,
  body.page-index .product-card .product-body small,
  body.page-index .product-card .product-body h3,
  body.page-index .product-card .product-body p,
  body.page-index .product-card .product-stock-line{
    display:none!important;
  }

  body.page-catalog .product-card .price-row,
  body.page-index .product-card .price-row{
    position:absolute!important;
    left:4px!important;
    bottom:4px!important;
    z-index:4!important;
    display:inline-flex!important;
    align-items:center!important;
    max-width:calc(100% - 36px)!important;
    min-height:22px!important;
    margin:0!important;
    padding:3px 6px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.92)!important;
    box-shadow:0 4px 10px rgba(15,35,65,.12)!important;
    backdrop-filter:blur(6px)!important;
    overflow:hidden!important;
  }

  body.page-catalog .product-card .price-row b,
  body.page-index .product-card .price-row b{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:9.5px!important;
    line-height:1!important;
    font-weight:900!important;
    color:#082f55!important;
  }
  body.page-catalog .product-card .old-price,
  body.page-index .product-card .old-price{display:none!important;}

  body.page-catalog .product-card form.js-add-to-cart,
  body.page-index .product-card form.js-add-to-cart{
    position:absolute!important;
    right:4px!important;
    bottom:4px!important;
    z-index:5!important;
    margin:0!important;
    pointer-events:auto!important;
  }

  body.page-catalog .product-card .add-cart-btn,
  body.page-index .product-card .add-cart-btn{
    inline-size:26px!important;
    block-size:26px!important;
    min-inline-size:26px!important;
    min-block-size:26px!important;
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    margin:0!important;
    padding:0!important;
    border-radius:999px!important;
    display:grid!important;
    place-items:center!important;
    background:rgba(255,255,255,.94)!important;
    border:1px solid rgba(15,58,95,.18)!important;
    color:#0f3a5f!important;
    font-size:0!important;
    box-shadow:0 4px 10px rgba(15,35,65,.14)!important;
  }
  body.page-catalog .product-card .add-cart-btn::before,
  body.page-index .product-card .add-cart-btn::before{
    content:'🛒'!important;
    font-size:13px!important;
    line-height:1!important;
  }
  body.page-catalog .product-card .add-cart-btn.is-added,
  body.page-index .product-card .add-cart-btn.is-added{
    background:rgba(255,255,255,.94)!important;
    border-color:rgba(9,146,80,.25)!important;
    color:#098250!important;
    pointer-events:none!important;
    box-shadow:0 4px 10px rgba(15,35,65,.12)!important;
  }
  body.page-catalog .product-card .add-cart-btn.is-added::before,
  body.page-index .product-card .add-cart-btn.is-added::before{content:none!important;}
  body.page-catalog .product-card .add-cart-btn .btn-added-mark,
  body.page-index .product-card .add-cart-btn .btn-added-mark{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1!important;
  }
  body.page-catalog .product-card .add-cart-btn .btn-added-text,
  body.page-index .product-card .add-cart-btn .btn-added-text{display:none!important;}

  body.page-catalog .product-card.is-out-of-stock::after,
  body.page-index .product-card.is-out-of-stock::after{
    content:'Нет';
    position:absolute!important;
    right:4px!important;
    bottom:4px!important;
    z-index:6!important;
    min-height:22px!important;
    padding:5px 6px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.92)!important;
    color:#667085!important;
    font-size:9px!important;
    font-weight:900!important;
    line-height:1!important;
  }

  body.page-catalog .catalog-load-more{
    min-height:34px!important;
    margin:10px auto 0!important;
    border-radius:12px!important;
    font-size:11px!important;
  }
  body.page-catalog .pagination{display:none!important;}
}

@media(max-width:360px){
  body.page-catalog .product-grid,
  body.page-index .product-grid{gap:4px!important;}
  body.page-catalog .product-card .price-row b,
  body.page-index .product-card .price-row b{font-size:9px!important;}
}

/* V4.3 checkout/order flow: guest confirms data first, registered users send directly */
.checkout-v43 .checkout-send-grid form{
  margin:0!important;
  display:block!important;
  min-width:0!important;
}
.checkout-v43 .checkout-send-grid .checkout-send-btn{
  width:100%!important;
}
.checkout-v43 .checkout-customer-form,
.checkout-v43 .checkout-registered-card,
.checkout-v43 .checkout-guest-confirmed{
  display:grid!important;
  gap:8px!important;
}
.checkout-v43 .checkout-confirm-btn{
  min-height:34px!important;
  font-size:12px!important;
  border-radius:10px!important;
}
.checkout-v43 .checkout-error-box{
  font-size:12px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
}

/* V4.3.2 — unified mobile catalog: Instagram 3-column grid + stable toolbar */
@media(max-width:760px){
  body.page-catalog .container{padding-left:8px!important;padding-right:8px!important;}
  body.page-catalog .shop-intro,
  body.page-catalog .catalog-sidebar,
  body.page-catalog .rightbar.banners-right{display:none!important;}
  body.page-catalog .catalog-main{width:100%!important;max-width:100%!important;}
  body.page-catalog .mobile-catalog-toolbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    gap:7px!important;
    align-items:center!important;
    margin:5px 0 9px!important;
  }
  body.page-catalog .mobile-category-select-row{display:block!important;min-width:0!important;margin:0!important;}
  body.page-catalog .mobile-category-select-row label{
    display:grid!important;
    grid-template-columns:22px minmax(0,1fr)!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 10px!important;
    border:1px solid #dce7f3!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 8px 18px rgba(15,35,65,.04)!important;
    overflow:hidden!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption{display:flex!important;font-size:0!important;margin:0!important;}
  body.page-catalog .mobile-category-select-row .mobile-field-caption::before{content:'⊙';font-size:16px!important;color:#0f3a5f!important;font-weight:900!important;}
  body.page-catalog .mobile-category-select-row select{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    border:0!important;
    outline:0!important;
    background:#fff!important;
    color:#10233f!important;
    font-size:13px!important;
    font-weight:900!important;
    padding:0 24px 0 0!important;
    appearance:auto!important;
    -webkit-appearance:menulist!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.page-catalog .mobile-sort-form{display:flex!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:44px!important;margin:0!important;}
  body.page-catalog .mobile-sort-form .sort-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:42px!important;
    height:44px!important;
    min-width:42px!important;
    min-height:44px!important;
    padding:0!important;
    border:1px solid #dce7f3!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#10233f!important;
    font-size:18px!important;
    font-weight:900!important;
    box-shadow:0 8px 18px rgba(15,35,65,.04)!important;
    line-height:1!important;
  }
  body.page-catalog .section-head.catalog-title-row{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    margin:4px 0 8px!important;
  }
  body.page-catalog .section-head.catalog-title-row h2{
    font-size:15px!important;
    line-height:1.1!important;
    margin:0!important;
    font-weight:900!important;
    color:#071d39!important;
  }
  body.page-catalog .desktop-sort-form{display:none!important;}
  body.page-catalog .filter-chips{display:none!important;}
  body.page-catalog .catalog-results{width:100%!important;}
  body.page-catalog .product-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
    align-items:start!important;
  }
  body.page-catalog .product-card{
    position:relative!important;
    display:block!important;
    aspect-ratio:1/1!important;
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    border:0!important;
    border-radius:9px!important;
    overflow:hidden!important;
    background:#eef3f8!important;
    box-shadow:0 3px 11px rgba(15,35,65,.08)!important;
  }
  body.page-catalog .product-card:hover{transform:none!important;}
  body.page-catalog .product-card .img{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    flex:none!important;
    padding:0!important;
    border-radius:9px!important;
    background:#eef3f8!important;
    overflow:hidden!important;
  }
  body.page-catalog .product-card .img picture,
  body.page-catalog .product-card .img img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    min-height:0!important;
    padding:0!important;
    border-radius:0!important;
    object-fit:cover!important;
  }
  body.page-catalog .product-card .sale-badge{
    left:5px!important;
    top:5px!important;
    z-index:3!important;
    border-radius:999px!important;
    padding:3px 6px!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:900!important;
  }
  body.page-catalog .product-card .product-body{
    position:absolute!important;
    inset:0!important;
    z-index:2!important;
    display:block!important;
    padding:0!important;
    pointer-events:none!important;
    background:linear-gradient(180deg,rgba(0,0,0,0) 52%,rgba(0,0,0,.10) 100%)!important;
  }
  body.page-catalog .product-card .product-body small,
  body.page-catalog .product-card .product-body h3,
  body.page-catalog .product-card .product-body p,
  body.page-catalog .product-stock-line{display:none!important;}
  body.page-catalog .product-card .price-row{
    position:absolute!important;
    left:5px!important;
    bottom:5px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:0!important;
    min-height:0!important;
    margin:0!important;
    padding:4px 6px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 4px 12px rgba(15,35,65,.10)!important;
    pointer-events:auto!important;
    max-width:72%!important;
  }
  body.page-catalog .product-card .old-price{font-size:8px!important;line-height:1!important;color:#8a94a6!important;}
  body.page-catalog .product-card .price-row b{font-size:10px!important;line-height:1.05!important;color:#0f3a5f!important;white-space:nowrap!important;}
  body.page-catalog .product-card .card-actions,
  body.page-catalog .product-card form.js-add-to-cart{
    position:absolute!important;
    right:5px!important;
    bottom:5px!important;
    z-index:4!important;
    display:block!important;
    margin:0!important;
    pointer-events:auto!important;
  }
  body.page-catalog .product-card .add-cart-btn,
  body.page-catalog .product-card .btn.disabled{
    display:grid!important;
    place-items:center!important;
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
    min-height:29px!important;
    padding:0!important;
    border-radius:999px!important;
    border:1px solid rgba(15,58,95,.20)!important;
    background:rgba(255,255,255,.94)!important;
    color:#0b223d!important;
    font-size:0!important;
    box-shadow:0 5px 12px rgba(15,35,65,.12)!important;
    overflow:hidden!important;
  }
  body.page-catalog .product-card .add-cart-btn::before{content:'🛒'!important;font-size:14px!important;line-height:1!important;}
  body.page-catalog .product-card .add-cart-btn.is-added::before{content:none!important;}
  body.page-catalog .product-card .add-cart-btn .btn-added-mark{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;font-size:13px!important;font-weight:900!important;color:#0a7f37!important;}
  body.page-catalog .product-card .add-cart-btn .btn-added-text{display:none!important;}
  body.page-catalog .product-card .btn.disabled::before{content:'×'!important;font-size:14px!important;color:#98a2b3!important;}
  body.page-catalog .catalog-load-more{min-height:34px!important;margin:10px auto 0!important;border-radius:12px!important;font-size:11px!important;}
  body.page-catalog .pagination{display:none!important;}
}


/* V4.3.16 — clean mobile catalog search + standard category select.
   Mobile-only. Desktop CSS stays in style.css. */
@media (max-width:760px){
  .site-header{overflow:visible!important;background:#fff!important;}
  .site-header .topbar{
    position:relative!important;
    min-height:94px!important;
    height:94px!important;
    align-items:start!important;
    padding-top:7px!important;
    padding-bottom:7px!important;
    overflow:visible!important;
  }

  /* Desktop search and old mobile search variants are not part of mobile UI. */
  .site-header .header-center,
  .site-header .search:not(.mobile-header-search-form),
  .site-header .header-links,
  .mobile-header-catalog-search,
  .mobile-catalog-search,
  .search-suggest-panel,
  .mobile-advisor-cta{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    height:0!important;
    max-height:0!important;
    overflow:hidden!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }

  .mobile-home-link,
  .mobile-advisor-link,
  .mobile-search-toggle,
  .login-link,
  .cart-link{
    display:inline-grid!important;
    place-items:center!important;
    width:36px!important;
    height:38px!important;
    min-width:36px!important;
    min-height:38px!important;
    border-radius:12px!important;
    border:1px solid #dce7f3!important;
    background:#fff!important;
    color:#0f3a5f!important;
    box-shadow:0 8px 18px rgba(15,35,65,.05)!important;
    padding:0!important;
    margin:0!important;
    font-size:16px!important;
    line-height:1!important;
    text-decoration:none!important;
    position:relative!important;
  }
  .mobile-advisor-link{border-color:#f3d18e!important;background:#fffaf0!important;}
  .mobile-advisor-link em,.login-link span{font-size:9px!important;line-height:1!important;font-weight:600!important;}
  .mobile-search-toggle{appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;}

  /* Magnifier only on the catalog page. */
  body:not(.page-catalog):not(.page-index) .site-header .mobile-search-toggle,
  body:not(.page-catalog):not(.page-index) .site-header .mobile-header-search-form{
    display:none!important;
  }
  body.page-catalog .site-header .mobile-search-toggle,
  body.page-index .site-header .mobile-search-toggle{
    display:inline-grid!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  /* Search opens inside the header without changing header height. */
  .site-header .mobile-header-search-form{
    display:none!important;
    position:absolute!important;
    left:8px!important;
    right:8px!important;
    top:49px!important;
    bottom:auto!important;
    z-index:1010!important;
    height:42px!important;
    min-height:42px!important;
    grid-template-columns:26px minmax(0,1fr) 68px!important;
    align-items:center!important;
    gap:5px!important;
    padding:3px 5px!important;
    box-sizing:border-box!important;
    border:1px solid #dbe7f4!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(15,35,65,.10)!important;
    overflow:hidden!important;
  }
  body.page-catalog.mobile-search-open .site-header .mobile-header-search-form,
  body.page-index.mobile-search-open .site-header .mobile-header-search-form{
    display:grid!important;
  }
  body.mobile-search-open .site-header .logo-combo small{
    opacity:0!important;
    visibility:hidden!important;
  }
  .site-header .mobile-header-search-icon{
    display:grid!important;
    place-items:center!important;
    width:26px!important;
    height:34px!important;
    font-size:16px!important;
    line-height:1!important;
  }
  .site-header .mobile-header-search-form input[name="q"]{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:34px!important;
    line-height:34px!important;
    font-size:14px!important;
    font-weight:500!important;
    color:#0d2544!important;
    padding:0 2px!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    text-align:left!important;
  }
  .site-header .mobile-header-search-form input[name="q"]::placeholder{
    font-size:13px!important;
    font-weight:400!important;
    color:#8d98a9!important;
    opacity:1!important;
  }
  .site-header .mobile-header-search-form button[type="submit"]{
    width:68px!important;
    min-width:68px!important;
    height:34px!important;
    border-radius:12px!important;
    border:1px solid #dbe7f4!important;
    background:#f8fbff!important;
    color:#0f3a5f!important;
    font-size:13px!important;
    font-weight:600!important;
    padding:0!important;
    box-shadow:none!important;
  }

  /* Category dropdown: standard compact text, left aligned, no giant bold menu. */
  body.page-catalog .mobile-category-select-row label{
    min-height:46px!important;
    height:46px!important;
    border-radius:14px!important;
    padding:0 12px!important;
    display:flex!important;
    align-items:center!important;
    background:#fff!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption{display:none!important;}
  body.page-catalog .mobile-category-select-row select,
  body.page-catalog .mobile-category-select-row option{
    font-size:13px!important;
    font-weight:500!important;
    line-height:1.2!important;
    text-align:left!important;
    direction:ltr!important;
    color:#0d2544!important;
  }
  body.page-catalog .mobile-category-select-row select{
    display:block!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    line-height:44px!important;
    padding:0 34px 0 8px!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    appearance:auto!important;
    -webkit-appearance:menulist!important;
  }
  body.page-catalog .mobile-category-select-row option{
    padding:6px 8px!important;
    font-weight:400!important;
    background:#fff!important;
  }

  body.page-catalog [data-catalog-results].is-loading{
    opacity:.72!important;
    transition:opacity .12s ease!important;
    min-height:inherit!important;
  }
}
@media (min-width:761px){
  .mobile-header-search-form,
  .mobile-header-catalog-search,
  .mobile-catalog-search,
  .mobile-advisor-cta{display:none!important;}
}


/* V4.3.17 — hard mobile header search visibility + compact native category popup. */
@media (max-width:760px){
  body.page-catalog .site-header .mobile-search-toggle,
  body.page-index .site-header .mobile-search-toggle{
    display:inline-grid!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  body:not(.page-catalog):not(.page-index) .site-header .mobile-search-toggle,
  body:not(.page-catalog):not(.page-index) .site-header .mobile-header-search-form{
    display:none!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  body.page-catalog.mobile-search-open .site-header .mobile-header-search-form,
  body.page-index.mobile-search-open .site-header .mobile-header-search-form{
    display:grid!important;
  }
  body.page-catalog .mobile-category-select-row select,
  body.page-catalog .mobile-category-select-row option{
    font-family:Manrope, Arial, sans-serif!important;
    font-size:13px!important;
    font-weight:400!important;
    line-height:1.25!important;
    letter-spacing:0!important;
    text-align:left!important;
    color:#0d2544!important;
  }
  body.page-catalog .mobile-category-select-row select{
    height:40px!important;
    min-height:40px!important;
    line-height:40px!important;
    padding-left:8px!important;
  }
  body.page-catalog .mobile-category-select-row label{
    min-height:42px!important;
    height:42px!important;
  }
}

/* V4.4.0 — Currency + Mobile UI Polish final overrides */
@media (max-width:760px){
  .site-header .mobile-home-link,
  .site-header .mobile-advisor-link,
  .site-header .mobile-search-toggle,
  .site-header .login-link,
  .site-header .cart-link,
  .site-header .mobile-menu-toggle{
    width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
    padding:0!important;border-radius:12px!important;border:1px solid #dce7f3!important;background:#fff!important;
    color:var(--blue)!important;display:inline-grid!important;place-items:center!important;text-decoration:none!important;
    box-shadow:0 6px 14px rgba(15,35,65,.05)!important;font-size:0!important;line-height:1!important;
  }
  .site-header .mobile-advisor-link{background:#fff!important;border-color:#dce7f3!important;}
  .site-header .mobile-home-link svg,
  .site-header .mobile-advisor-link svg,
  .site-header .mobile-search-toggle svg,
  .site-header .login-link svg,
  .site-header .cart-link svg,
  .site-header .mobile-menu-toggle svg,
  .mobile-header-search-icon svg{
    width:20px!important;height:20px!important;display:block!important;stroke:currentColor!important;fill:none!important;
    stroke-width:1.85!important;stroke-linecap:round!important;stroke-linejoin:round!important;overflow:visible!important;
  }
  .site-header .mobile-advisor-link em,.site-header .login-link span{display:none!important;}
  .site-header .head-actions{gap:5px!important;align-items:center!important;}
  .site-header .cart-count{position:absolute!important;right:-3px!important;top:-4px!important;}
  .currency-switch{display:inline-grid!important;place-items:center!important;width:48px!important;height:34px!important;min-width:48px!important;border:1px solid #dce7f3!important;border-radius:12px!important;background:#fff!important;box-shadow:0 6px 14px rgba(15,35,65,.05)!important;overflow:hidden!important;}
  .currency-switch select{width:100%!important;height:100%!important;border:0!important;background:transparent!important;color:#10233f!important;font-size:11px!important;font-weight:500!important;text-align:center!important;text-align-last:center!important;padding:0 2px!important;outline:0!important;appearance:auto!important;-webkit-appearance:menulist!important;}
  body:not(.page-catalog):not(.page-index) .site-header .mobile-search-toggle{display:none!important;}
  body.page-catalog .site-header .mobile-search-toggle,body.page-index .site-header .mobile-search-toggle{display:inline-grid!important;opacity:1!important;pointer-events:auto!important;}

  body.page-catalog .mobile-category-select-row label,
  body.page-index .mobile-category-select-row label{
    display:grid!important;grid-template-columns:1fr!important;gap:2px!important;height:auto!important;min-height:38px!important;
    padding:5px 9px!important;border-radius:12px!important;border:1px solid #dce7f3!important;background:#fff!important;box-shadow:none!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption,
  body.page-index .mobile-category-select-row .mobile-field-caption{
    display:block!important;margin:0!important;font-size:9.5px!important;line-height:1.1!important;font-weight:500!important;color:#667085!important;text-align:left!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption::before,
  body.page-index .mobile-category-select-row .mobile-field-caption::before{content:none!important;}
  body.page-catalog .mobile-category-select-row select,
  body.page-catalog .mobile-category-select-row option,
  body.page-index .mobile-category-select-row select,
  body.page-index .mobile-category-select-row option{
    font-family:Manrope,Arial,sans-serif!important;font-size:11.5px!important;font-weight:400!important;line-height:1.2!important;color:#10233f!important;text-align:left!important;
  }
  body.page-catalog .mobile-category-select-row select,
  body.page-index .mobile-category-select-row select{
    height:24px!important;min-height:24px!important;border:0!important;background:#fff!important;padding:0 22px 0 0!important;outline:0!important;appearance:auto!important;-webkit-appearance:menulist!important;
  }
  .currency-secondary,.cart-total-secondary{display:block!important;margin-top:2px!important;font-size:10px!important;font-weight:500!important;color:#667085!important;line-height:1.1!important;text-align:center!important;}
  .checkout-payment-note{font-size:11px!important;line-height:1.25!important;color:#667085!important;background:#f7fafc!important;border:1px solid #e5edf5!important;border-radius:10px!important;padding:7px!important;margin:0 0 8px!important;}
}
@media (max-width:760px){
  .site-header .mobile-home-link::before,
  .site-header .mobile-advisor-link::before,
  .site-header .mobile-search-toggle::before,
  .site-header .login-link::before,
  .site-header .cart-link::before{content:none!important;}
}

/* V4.4.1 — Mobile Header Icons + Select UI Fix */
@media (max-width:760px){
  .site-header .mobile-home-link,
  .site-header .mobile-advisor-link,
  .site-header .mobile-search-toggle,
  .site-header .login-link,
  .site-header .cart-link,
  .site-header .mobile-menu-toggle,
  .site-header .currency-switch{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    border-radius:13px!important;
    border:1px solid #dce7f3!important;
    background:#fff!important;
    box-shadow:0 6px 15px rgba(15,35,65,.055)!important;
    display:inline-grid!important;
    place-items:center!important;
    color:#0f3a5f!important;
    padding:0!important;
  }
  .site-header .mobile-advisor-link,
  .site-header .mobile-home-link,
  .site-header .mobile-search-toggle,
  .site-header .login-link,
  .site-header .cart-link{
    font-size:0!important;
    line-height:1!important;
  }
  .site-header .mobile-home-link svg,
  .site-header .mobile-advisor-link svg,
  .site-header .mobile-search-toggle svg,
  .site-header .login-link svg,
  .site-header .cart-link svg,
  .site-header .mobile-menu-toggle svg,
  .mobile-header-search-icon svg{
    width:21px!important;
    height:21px!important;
    stroke:currentColor!important;
    fill:none!important;
    stroke-width:1.65!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    display:block!important;
  }
  .site-header .mobile-advisor-link.is-active,
  .site-header .mobile-home-link.is-active,
  .site-header .mobile-search-toggle.is-active,
  .site-header .login-link.is-active,
  .site-header .cart-link.is-active,
  .site-header .currency-switch:focus-within{
    border-color:#f1ca7a!important;
    background:#fffaf0!important;
  }
  .site-header .mobile-advisor-link em,
  .site-header .login-link span{display:none!important;}
  .site-header .head-actions{gap:6px!important;align-items:center!important;}
  .currency-switch{position:relative!important;overflow:hidden!important;}
  .currency-switch select{
    width:100%!important;
    height:100%!important;
    min-height:36px!important;
    border:0!important;
    background:transparent!important;
    color:#0f3a5f!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:1!important;
    text-align:center!important;
    text-align-last:center!important;
    padding:0 2px!important;
    outline:0!important;
    box-shadow:none!important;
    appearance:auto!important;
    -webkit-appearance:menulist!important;
  }

  body.page-catalog .mobile-category-select-row label,
  body.page-index .mobile-category-select-row label{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:center!important;
    min-height:38px!important;
    height:38px!important;
    padding:0 10px!important;
    border-radius:13px!important;
    border:1px solid #dce7f3!important;
    background:#fff!important;
    box-shadow:0 6px 14px rgba(15,35,65,.035)!important;
    overflow:hidden!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption,
  body.page-index .mobile-category-select-row .mobile-field-caption,
  body.page-catalog .mobile-category-select-row label > span:not(.cat-count),
  body.page-index .mobile-category-select-row label > span:not(.cat-count){
    display:none!important;
    content:none!important;
  }
  body.page-catalog .mobile-category-select-row select,
  body.page-index .mobile-category-select-row select{
    width:100%!important;
    height:36px!important;
    min-height:36px!important;
    border:0!important;
    background:#fff!important;
    color:#10233f!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:12.5px!important;
    font-weight:400!important;
    line-height:1.25!important;
    text-align:left!important;
    text-align-last:left!important;
    padding:0 22px 0 0!important;
    outline:0!important;
    box-shadow:none!important;
    appearance:auto!important;
    -webkit-appearance:menulist!important;
  }
  body.page-catalog .mobile-category-select-row option,
  body.page-index .mobile-category-select-row option{
    font-family:Manrope,Arial,sans-serif!important;
    font-size:12.5px!important;
    font-weight:400!important;
    line-height:1.25!important;
    color:#10233f!important;
    background:#fff!important;
  }
}

/* V4.4.2 — mobile category dropdown is isolated in mobile.css only.
   The native select remains for PHP/AJAX state, but the visible dropdown is custom
   so desktop select/option styles and browser native popup typography cannot override it. */
@media (max-width:760px){
  body.page-catalog .mobile-category-select-row label{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:40px!important;
    min-height:40px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  body.page-catalog .native-mobile-category-select{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:40px!important;
    opacity:0!important;
    pointer-events:none!important;
    z-index:-1!important;
  }
  body.page-catalog .mobile-category-custom{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:40px!important;
    font-family:Manrope,Arial,sans-serif!important;
    color:#10233f!important;
    z-index:30!important;
  }
  body.page-catalog .mobile-category-custom-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    width:100%!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 12px!important;
    border:1px solid #dce7f3!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 6px 14px rgba(15,35,65,.035)!important;
    color:#10233f!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:13px!important;
    font-weight:400!important;
    line-height:1.2!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  body.page-catalog .mobile-category-current{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:13px!important;
    font-weight:400!important;
    line-height:1.2!important;
  }
  body.page-catalog .mobile-category-caret{
    flex:0 0 auto!important;
    font-size:14px!important;
    line-height:1!important;
    color:#0f3a5f!important;
  }
  body.page-catalog .mobile-category-custom-list{
    position:absolute!important;
    top:calc(100% + 6px)!important;
    left:0!important;
    right:0!important;
    display:none!important;
    max-height:62vh!important;
    overflow:auto!important;
    padding:6px!important;
    border:1px solid #dce7f3!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 16px 38px rgba(15,35,65,.16)!important;
    z-index:999!important;
  }
  body.page-catalog .mobile-category-custom.is-open .mobile-category-custom-list{
    display:block!important;
  }
  body.page-catalog .mobile-category-custom-option{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:34px!important;
    padding:8px 10px!important;
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
    color:#10233f!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:13px!important;
    font-weight:400!important;
    line-height:1.2!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  body.page-catalog .mobile-category-custom-option.is-selected{
    background:#f3f7fb!important;
    color:#10233f!important;
    font-weight:500!important;
  }
  body.page-catalog .mobile-category-custom-option:active{
    background:#eef5fb!important;
  }
}

/* v4.4.3: restore baseline mobile category select typography.
   The visible mobile category selector must use only mobile.css and must not
   inherit desktop select typography. We keep the native select from the stable
   baseline and remove the custom dropdown layer. */
@media (max-width:760px){
  body.page-catalog .mobile-category-custom,
  body.page-catalog .mobile-category-custom-toggle,
  body.page-catalog .mobile-category-custom-list,
  body.page-catalog .mobile-category-custom-option{
    display:none!important;
  }
  body.page-catalog .mobile-category-select-row{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    margin:0!important;
  }
  body.page-catalog .mobile-category-select-row label{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 10px!important;
    border:1px solid #dce7f3!important;
    border-radius:13px!important;
    background:#fff!important;
    overflow:hidden!important;
    box-shadow:0 6px 14px rgba(15,35,65,.035)!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    font-size:0!important;
    line-height:1!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption::before{
    content:'📂'!important;
    display:block!important;
    font-size:15px!important;
    line-height:1!important;
  }
  body.page-catalog .mobile-category-select-row select.js-mobile-category-select{
    display:block!important;
    position:static!important;
    opacity:1!important;
    z-index:auto!important;
    pointer-events:auto!important;
    appearance:auto!important;
    -webkit-appearance:menulist!important;
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 22px 0 0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    color:#10233f!important;
    font-family:var(--mobile-font, Manrope, Arial, sans-serif)!important;
    font-size:12.5px!important;
    font-weight:500!important;
    line-height:1.2!important;
    letter-spacing:0!important;
    text-align:left!important;
    outline:0!important;
  }
  body.page-catalog .mobile-category-select-row select.js-mobile-category-select option{
    font-family:var(--mobile-font, Manrope, Arial, sans-serif)!important;
    font-size:12.5px!important;
    font-weight:400!important;
    line-height:1.25!important;
    color:#10233f!important;
    background:#fff!important;
  }
}


/* v4.4.4 — final mobile-only category dropdown and header polish.
   This block intentionally lives after older v4.4.2/v4.4.3 rules so the mobile
   selector is fully isolated from desktop select/option styles. */
@media (max-width:760px){
  body.page-index .mobile-search-toggle,
  body.page-catalog .mobile-search-toggle{
    opacity:1!important;
    pointer-events:auto!important;
  }
  body:not(.page-index):not(.page-catalog) .mobile-search-toggle{
    display:none!important;
  }

  .site-header .mobile-home-link,
  .site-header .mobile-advisor-link,
  .site-header .mobile-search-toggle,
  .site-header .login-link,
  .site-header .cart-link,
  .site-header .mobile-menu-toggle,
  .site-header .currency-switch{
    width:35px!important;
    height:35px!important;
    min-width:35px!important;
    min-height:35px!important;
    border-radius:12px!important;
    border:1px solid #e0e8f2!important;
    background:#fff!important;
    box-shadow:0 5px 13px rgba(15,35,65,.045)!important;
    color:#183b5b!important;
  }
  .site-header .mobile-home-link svg,
  .site-header .mobile-advisor-link svg,
  .site-header .mobile-search-toggle svg,
  .site-header .login-link svg,
  .site-header .cart-link svg,
  .site-header .mobile-menu-toggle svg,
  .mobile-header-search-icon svg{
    width:20px!important;
    height:20px!important;
    stroke:currentColor!important;
    fill:none!important;
    stroke-width:1.45!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  .site-header .currency-switch select{
    font-family:Manrope,Arial,sans-serif!important;
    font-size:11.5px!important;
    font-weight:500!important;
    color:#183b5b!important;
    text-align:center!important;
    text-align-last:center!important;
    padding:0 2px!important;
  }

  body.page-catalog .mobile-category-select-row{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
    z-index:80!important;
  }
  body.page-catalog .mobile-category-select-row label{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption{
    display:none!important;
  }
  body.page-catalog .mobile-category-select-row select.js-mobile-category-select,
  body.page-catalog .native-mobile-category-select{
    position:absolute!important;
    inset:0!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    pointer-events:none!important;
    z-index:-1!important;
    appearance:none!important;
    -webkit-appearance:none!important;
  }
  body.page-catalog .mobile-category-custom{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    font-family:Manrope,Arial,sans-serif!important;
    color:#10233f!important;
    z-index:90!important;
  }
  body.page-catalog .mobile-category-custom-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 11px!important;
    border:1px solid #dce7f3!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 6px 14px rgba(15,35,65,.035)!important;
    color:#10233f!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.2!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  body.page-catalog .mobile-category-current{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.2!important;
    color:#10233f!important;
  }
  body.page-catalog .mobile-category-caret{
    flex:0 0 auto!important;
    font-size:13px!important;
    line-height:1!important;
    color:#667085!important;
  }
  body.page-catalog .mobile-category-custom-list{
    position:absolute!important;
    top:calc(100% + 6px)!important;
    left:0!important;
    right:0!important;
    display:none!important;
    max-height:58vh!important;
    overflow:auto!important;
    padding:5px!important;
    border:1px solid #dce7f3!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 16px 38px rgba(15,35,65,.16)!important;
    z-index:9999!important;
  }
  body.page-catalog .mobile-category-custom.is-open .mobile-category-custom-list{
    display:block!important;
  }
  body.page-catalog .mobile-category-custom-option{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:31px!important;
    padding:7px 9px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#10233f!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.2!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  body.page-catalog .mobile-category-custom-option.is-selected{
    background:#f3f7fb!important;
    color:#10233f!important;
    font-weight:500!important;
  }
  body.page-catalog .mobile-category-custom-option:active{
    background:#eef5fb!important;
  }
}

/* V4.4.5 — Mobile Currency Dropdown Fix: no native select, no desktop style inheritance */
@media (max-width:760px){
  .site-header .currency-switch.js-currency-custom{
    position:relative!important;
    display:inline-grid!important;
    place-items:center!important;
    width:48px!important;
    height:35px!important;
    min-width:48px!important;
    min-height:35px!important;
    padding:0!important;
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    z-index:220!important;
  }
  .site-header .currency-switch .js-currency-switch{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    pointer-events:none!important;
    inset:auto!important;
    left:-9999px!important;
    appearance:none!important;
    -webkit-appearance:none!important;
  }
  .site-header .currency-current{
    width:48px!important;
    height:35px!important;
    min-width:48px!important;
    min-height:35px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    border:1px solid #e0e8f2!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 5px 13px rgba(15,35,65,.045)!important;
    color:#183b5b!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:10.5px!important;
    font-weight:500!important;
    line-height:1!important;
    padding:0 4px!important;
    cursor:pointer!important;
    outline:0!important;
  }
  .site-header .currency-switch.is-open .currency-current,
  .site-header .currency-current:focus-visible{
    border-color:#f1ca7a!important;
    background:#fffaf0!important;
  }
  .site-header .currency-flag{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:14px!important;
    height:14px!important;
    min-width:14px!important;
    font-size:12px!important;
    line-height:1!important;
  }
  .site-header .currency-name{
    display:inline-block!important;
    max-width:24px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .site-header .currency-caret{
    display:inline-block!important;
    font-size:9px!important;
    line-height:1!important;
    color:#667085!important;
    margin-left:0!important;
  }
  .site-header .currency-menu{
    position:absolute!important;
    top:calc(100% + 7px)!important;
    right:0!important;
    display:none!important;
    min-width:116px!important;
    padding:5px!important;
    border:1px solid #dce7f3!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 16px 36px rgba(15,35,65,.18)!important;
    z-index:9999!important;
  }
  .site-header .currency-switch.is-open .currency-menu{
    display:grid!important;
    gap:2px!important;
  }
  .site-header .currency-option{
    width:100%!important;
    min-height:31px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    padding:6px 8px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#10233f!important;
    font-family:Manrope,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.15!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  .site-header .currency-option.is-selected{
    background:#f3f7fb!important;
    font-weight:500!important;
  }
  .site-header .currency-option:active{
    background:#eef5fb!important;
  }
}


/* V4.4.6 — FINAL mobile color icons + custom category/currency dropdowns.
   This block is intentionally last. It affects only mobile and does not touch desktop. */
@media (max-width:760px){
  :root{--mobile-font:Manrope,Arial,sans-serif;}

  .site-header .mobile-home-link,
  .site-header .mobile-advisor-link,
  .site-header .mobile-search-toggle,
  .site-header .login-link,
  .site-header .cart-link,
  .site-header .mobile-menu-toggle,
  .site-header .currency-switch.js-currency-custom{
    width:35px!important;
    height:35px!important;
    min-width:35px!important;
    min-height:35px!important;
    border-radius:12px!important;
    border:1px solid #e3ebf4!important;
    background:#fff!important;
    box-shadow:0 5px 13px rgba(15,35,65,.045)!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    overflow:visible!important;
  }
  .site-header .mobile-advisor-link em,
  .site-header .login-link span{
    display:block!important;
    position:absolute!important;
    left:50%!important;
    bottom:2px!important;
    transform:translateX(-50%)!important;
    max-width:30px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-family:var(--mobile-font)!important;
    font-size:7.5px!important;
    font-style:normal!important;
    font-weight:600!important;
    line-height:1!important;
    color:#0f3a5f!important;
  }
  .site-header .mobile-advisor-link,
  .site-header .login-link{position:relative!important;}
  .site-header .mobile-home-link .dzi-color-icon,
  .site-header .mobile-advisor-link .dzi-color-icon,
  .site-header .mobile-search-toggle .dzi-color-icon,
  .site-header .login-link .dzi-color-icon,
  .site-header .cart-link .dzi-color-icon,
  .site-header .mobile-menu-toggle .dzi-color-icon,
  .mobile-header-search-icon .dzi-color-icon{
    width:21px!important;
    height:21px!important;
    display:block!important;
    flex:0 0 21px!important;
  }
  .site-header .mobile-advisor-link .dzi-color-icon,
  .site-header .login-link .dzi-color-icon{transform:translateY(-2px)!important;}
  .site-header .mobile-home-link.is-active,
  .site-header .mobile-advisor-link.is-active,
  .site-header .mobile-search-toggle[aria-expanded="true"],
  .site-header .currency-switch.is-open .currency-current{
    border-color:#f1ca7a!important;
    background:#fffaf0!important;
  }

  /* Currency: no visible native select, only compact custom mobile dropdown. */
  .site-header .currency-switch.js-currency-custom{
    position:relative!important;
    width:41px!important;
    min-width:41px!important;
    z-index:260!important;
  }
  .site-header .currency-switch .js-currency-switch{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    pointer-events:none!important;
    left:-9999px!important;
    appearance:none!important;
    -webkit-appearance:none!important;
  }
  .site-header .currency-current{
    width:41px!important;
    height:35px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    border:1px solid #e3ebf4!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#10233f!important;
    font-family:var(--mobile-font)!important;
    font-size:9.5px!important;
    font-weight:600!important;
    line-height:1!important;
    padding:0 3px!important;
    cursor:pointer!important;
  }
  .site-header .currency-flag{font-size:11px!important;line-height:1!important;width:13px!important;min-width:13px!important;}
  .site-header .currency-name{font-size:9.5px!important;max-width:18px!important;overflow:hidden!important;white-space:nowrap!important;}
  .site-header .currency-caret{font-size:8px!important;color:#667085!important;margin-left:0!important;}
  .site-header .currency-menu{
    position:absolute!important;
    top:calc(100% + 7px)!important;
    right:0!important;
    display:none!important;
    min-width:106px!important;
    padding:5px!important;
    border:1px solid #dce7f3!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 16px 36px rgba(15,35,65,.18)!important;
    z-index:10050!important;
  }
  .site-header .currency-switch.is-open .currency-menu{display:grid!important;gap:2px!important;}
  .site-header .currency-option{
    width:100%!important;
    min-height:30px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    padding:6px 8px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#10233f!important;
    font-family:var(--mobile-font)!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.15!important;
    text-align:left!important;
  }
  .site-header .currency-option.is-selected{background:#f3f7fb!important;font-weight:500!important;}

  /* Category: hide native select completely; visible UI is custom and mobile-only. */
  body.page-catalog .mobile-category-select-row,
  body.page-index .mobile-category-select-row{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    z-index:90!important;
  }
  body.page-catalog .mobile-category-select-row label,
  body.page-index .mobile-category-select-row label{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  body.page-catalog .mobile-category-select-row .mobile-field-caption,
  body.page-index .mobile-category-select-row .mobile-field-caption{display:none!important;}
  body.page-catalog .native-mobile-category-select,
  body.page-catalog select.js-mobile-category-select,
  body.page-index .native-mobile-category-select,
  body.page-index select.js-mobile-category-select{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    min-width:1px!important;
    min-height:1px!important;
    inset:auto!important;
    left:-9999px!important;
    opacity:0!important;
    pointer-events:none!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    z-index:-1!important;
  }
  body.page-catalog .mobile-category-custom,
  body.page-index .mobile-category-custom{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    font-family:var(--mobile-font)!important;
    color:#10233f!important;
    z-index:120!important;
  }
  body.page-catalog .mobile-category-custom-toggle,
  body.page-index .mobile-category-custom-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 11px!important;
    border:1px solid #dce7f3!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 6px 14px rgba(15,35,65,.035)!important;
    color:#10233f!important;
    font-family:var(--mobile-font)!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.2!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  body.page-catalog .mobile-category-current,
  body.page-index .mobile-category-current{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-family:var(--mobile-font)!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.2!important;
    color:#10233f!important;
  }
  body.page-catalog .mobile-category-caret,
  body.page-index .mobile-category-caret{flex:0 0 auto!important;font-size:13px!important;line-height:1!important;color:#667085!important;}
  body.page-catalog .mobile-category-custom-list,
  body.page-index .mobile-category-custom-list{
    position:absolute!important;
    top:calc(100% + 6px)!important;
    left:0!important;
    right:0!important;
    display:none!important;
    max-height:58vh!important;
    overflow:auto!important;
    padding:5px!important;
    border:1px solid #dce7f3!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 16px 38px rgba(15,35,65,.16)!important;
    z-index:10000!important;
  }
  body.page-catalog .mobile-category-custom.is-open .mobile-category-custom-list,
  body.page-index .mobile-category-custom.is-open .mobile-category-custom-list{display:block!important;}
  body.page-catalog .mobile-category-custom-option,
  body.page-index .mobile-category-custom-option{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:31px!important;
    padding:7px 9px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#10233f!important;
    font-family:var(--mobile-font)!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.2!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  body.page-catalog .mobile-category-custom-option.is-selected,
  body.page-index .mobile-category-custom-option.is-selected{background:#f3f7fb!important;font-weight:500!important;}
}


/* V4.4.7 — Mobile dropdown alignment + messenger currency text.
   Final small fix: custom category dropdown opens from the left and every item is left-aligned. */
@media (max-width:760px){
  body.page-catalog .mobile-category-custom-list,
  body.page-index .mobile-category-custom-list{
    left:0!important;
    right:auto!important;
    width:100%!important;
    min-width:100%!important;
    transform:none!important;
    text-align:left!important;
  }
  body.page-catalog .mobile-category-custom-option,
  body.page-index .mobile-category-custom-option{
    justify-content:flex-start!important;
    text-align:left!important;
    padding-left:10px!important;
    padding-right:10px!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.page-catalog .mobile-category-custom-option *,
  body.page-index .mobile-category-custom-option *{
    text-align:left!important;
  }
  .site-header .currency-menu{
    text-align:left!important;
  }
  .site-header .currency-option{
    justify-content:flex-start!important;
    text-align:left!important;
  }
}


/* V4.4.8 — Currency flag icons final.
   Uses project SVG flags, not emoji. Mobile-only positioning, desktop remains independent. */
@media (max-width:760px){
  .site-header .currency-flag{
    display:inline-block!important;
    width:15px!important;
    height:10px!important;
    min-width:15px!important;
    border-radius:3px!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:100% 100%!important;
    box-shadow:0 0 0 1px rgba(15,35,65,.08)!important;
    font-size:0!important;
    line-height:0!important;
    overflow:hidden!important;
  }
  .site-header .currency-flag-kg{background-image:url('../icons/flags/kg.svg')!important;}
  .site-header .currency-flag-ru{background-image:url('../icons/flags/ru.svg')!important;}
  .site-header .currency-current{
    gap:3px!important;
    width:43px!important;
    min-width:43px!important;
    padding:0 3px!important;
  }
  .site-header .currency-switch.js-currency-custom{
    width:43px!important;
    min-width:43px!important;
  }
  .site-header .currency-name{
    font-family:var(--mobile-font)!important;
    font-size:9px!important;
    font-weight:500!important;
    max-width:18px!important;
    color:#10233f!important;
  }
  .site-header .currency-caret{font-size:7px!important;margin-left:0!important;}
  .site-header .currency-menu{
    min-width:128px!important;
    right:0!important;
    left:auto!important;
    padding:6px!important;
  }
  .site-header .currency-option{
    min-height:30px!important;
    gap:8px!important;
    padding:6px 8px!important;
    text-align:left!important;
    justify-content:flex-start!important;
  }
  .site-header .currency-option span:last-child{
    display:inline-flex!important;
    align-items:baseline!important;
    gap:5px!important;
    min-width:0!important;
  }
  .site-header .currency-option strong{
    font-size:11px!important;
    font-weight:600!important;
    color:#10233f!important;
    line-height:1!important;
  }
  .site-header .currency-option em{
    font-size:11px!important;
    font-style:normal!important;
    font-weight:400!important;
    color:#667085!important;
    line-height:1!important;
  }
}

@media (min-width:761px){
  .site-header .currency-flag{
    display:inline-block;
    width:18px;
    height:12px;
    min-width:18px;
    border-radius:3px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:100% 100%;
    box-shadow:0 0 0 1px rgba(15,35,65,.08);
    font-size:0;
    line-height:0;
    vertical-align:-1px;
  }
  .site-header .currency-flag-kg{background-image:url('../icons/flags/kg.svg');}
  .site-header .currency-flag-ru{background-image:url('../icons/flags/ru.svg');}
  .site-header .currency-option strong{font-weight:600;}
  .site-header .currency-option em{font-style:normal;color:#667085;}
}


/* V4.4.9 — final mobile header/icon sizing, left dropdowns, no desktop mixing. */
@media (max-width:760px){
  .site-header .mobile-home-link,
  .site-header .mobile-advisor-link,
  .site-header .mobile-search-toggle,
  .site-header .login-link,
  .site-header .cart-link,
  .site-header .currency-switch.js-currency-custom{
    width:37px!important;
    height:37px!important;
    min-width:37px!important;
    min-height:37px!important;
    border-radius:13px!important;
  }
  .site-header .mobile-home-link .dzi-color-icon,
  .site-header .mobile-advisor-link .dzi-color-icon,
  .site-header .mobile-search-toggle .dzi-color-icon,
  .site-header .login-link .dzi-color-icon,
  .site-header .cart-link .dzi-color-icon{
    width:23px!important;
    height:23px!important;
    flex-basis:23px!important;
    transform:none!important;
  }
  .site-header .mobile-advisor-link em,
  .site-header .login-link span{
    display:none!important;
  }
  .site-header .currency-switch.js-currency-custom,
  .site-header .currency-current{
    width:50px!important;
    min-width:50px!important;
    height:37px!important;
  }
  .site-header .currency-current{
    justify-content:center!important;
    gap:4px!important;
    font-size:10px!important;
  }
  .site-header .currency-flag{
    width:16px!important;
    height:11px!important;
    min-width:16px!important;
  }
  .site-header .currency-name{
    max-width:21px!important;
    font-size:9.5px!important;
    font-weight:600!important;
  }
  .site-header .currency-menu{
    left:auto!important;
    right:0!important;
    transform:none!important;
    text-align:left!important;
  }
  .site-header .currency-option{
    justify-content:flex-start!important;
    text-align:left!important;
  }
  body.page-index .mobile-home-toolbar{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }
  body.page-index .mobile-home-category-form{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  body.page-catalog .mobile-category-custom-list,
  body.page-index .mobile-category-custom-list{
    left:0!important;
    right:auto!important;
    transform:none!important;
    text-align:left!important;
    width:100%!important;
    min-width:100%!important;
  }
  body.page-catalog .mobile-category-custom-option,
  body.page-index .mobile-category-custom-option{
    justify-content:flex-start!important;
    text-align:left!important;
    font-size:12px!important;
    font-weight:400!important;
  }
}


/* V4.4.11 — mobile currency dropdown safe layer.
   Currency menu must not hide behind the mobile search overlay.
   The JS closes search before opening currency; this CSS keeps the menu compact and above header layers. */
@media (max-width:760px){
  .site-header,
  .site-header .topbar,
  .site-header .head-actions{
    overflow:visible!important;
  }
  .site-header .currency-switch.js-currency-custom{
    position:relative!important;
    z-index:3000!important;
    overflow:visible!important;
  }
  .site-header .currency-switch.js-currency-custom .currency-menu{
    position:absolute!important;
    top:calc(100% + 5px)!important;
    right:0!important;
    left:auto!important;
    width:118px!important;
    min-width:118px!important;
    max-width:118px!important;
    padding:4px!important;
    display:none!important;
    grid-template-columns:1fr!important;
    gap:2px!important;
    z-index:5000!important;
    transform:none!important;
    text-align:left!important;
  }
  .site-header .currency-switch.js-currency-custom.is-open .currency-menu{
    display:grid!important;
  }
  .site-header .currency-option{
    min-height:28px!important;
    padding:5px 7px!important;
    gap:6px!important;
    justify-content:flex-start!important;
    text-align:left!important;
    font-size:11px!important;
    line-height:1.1!important;
  }
  .site-header .currency-option .currency-flag{
    width:16px!important;
    height:11px!important;
    min-width:16px!important;
  }
  .site-header .currency-option strong{font-size:11px!important;font-weight:600!important;}
  .site-header .currency-option em{font-size:10px!important;font-style:normal!important;color:#667085!important;}
}

.mobile-currency-btn img{width:24px;height:24px}.mobile-currency-label{font-size:9px;text-align:center}

/* V4.5.6 — restore original mobile header, add currency as last compact icon */
@media (max-width:760px){
  .site-header .topbar{
    grid-template-columns:30px minmax(88px,1fr) auto!important;
    align-items:center!important;
    gap:4px!important;
    padding:6px 0!important;
    overflow:visible!important;
  }

  .site-header .mobile-menu-toggle{
    width:30px!important;
    min-width:30px!important;
    height:34px!important;
    min-height:34px!important;
    border-radius:12px!important;
    padding:0!important;
  }

  .site-header .logo.logo-combo{
    min-width:0!important;
    max-width:108px!important;
    overflow:hidden!important;
  }
  .site-header .logo-mainline{
    display:flex!important;
    align-items:center!important;
    gap:3px!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  .site-header .logo-mark{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
  }
  .site-header .logo-title{
    max-width:70px!important;
    font-size:16px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .site-header .logo.logo-combo small{
    display:block!important;
    width:100%!important;
    max-width:108px!important;
    margin-top:2px!important;
    font-size:7px!important;
    line-height:1.08!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    color:#37516a!important;
  }

  .site-header .head-actions{
    display:grid!important;
    grid-template-columns:repeat(6,32px)!important;
    align-items:center!important;
    justify-content:end!important;
    gap:3px!important;
    width:auto!important;
    max-width:none!important;
    overflow:visible!important;
  }

  .site-header .mobile-home-link,
  .site-header .mobile-advisor-link,
  .site-header .mobile-search-toggle,
  .site-header .login-link,
  .site-header .cart-link,
  .site-header .currency-switch.js-currency-custom{
    width:32px!important;
    min-width:32px!important;
    height:34px!important;
    min-height:34px!important;
    border-radius:12px!important;
    padding:1px!important;
    margin:0!important;
    display:inline-grid!important;
    place-items:center!important;
    position:relative!important;
    overflow:visible!important;
  }

  .site-header .mobile-advisor-link em,
  .site-header .login-link span{
    font-size:7px!important;
    line-height:1!important;
    max-width:30px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .site-header .currency-switch.js-currency-custom{
    order:99!important;
    border:1px solid #dce7f3!important;
    background:#fff!important;
    box-shadow:0 6px 14px rgba(15,35,65,.05)!important;
  }
  .site-header .currency-switch .js-currency-switch{
    display:none!important;
  }
  .site-header .currency-current{
    width:100%!important;
    height:100%!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:1px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:1px!important;
  }
  .site-header .currency-current > .currency-flag{
    width:22px!important;
    height:14px!important;
    min-width:22px!important;
    border-radius:3px!important;
    background-size:100% 100%!important;
    background-position:center!important;
  }
  .site-header .currency-current > .currency-name{
    display:block!important;
    max-width:30px!important;
    font-size:7px!important;
    line-height:1!important;
    font-weight:800!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    color:#0f3a5f!important;
  }
  .site-header .currency-current > .currency-caret{display:none!important;}
  .site-header .currency-switch.js-currency-custom .currency-menu{
    right:0!important;
    left:auto!important;
    top:calc(100% + 6px)!important;
    width:112px!important;
    min-width:112px!important;
    max-width:112px!important;
    z-index:6000!important;
  }
  .site-header .currency-switch.js-currency-custom .currency-option{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    padding:7px 9px!important;
    text-align:left!important;
    white-space:nowrap!important;
  }
  .site-header .currency-switch.js-currency-custom .currency-option strong{
    font-size:11px!important;
    line-height:1.1!important;
  }
}

@media (max-width:380px){
  .site-header .topbar{grid-template-columns:30px minmax(82px,1fr) auto!important;gap:3px!important;}
  .site-header .logo.logo-combo{max-width:96px!important;}
  .site-header .logo.logo-combo small{max-width:96px!important;font-size:6.4px!important;}
  .site-header .logo-title{max-width:64px!important;font-size:15px!important;}
  .site-header .head-actions{grid-template-columns:repeat(6,31px)!important;gap:2px!important;}
  .site-header .mobile-home-link,
  .site-header .mobile-advisor-link,
  .site-header .mobile-search-toggle,
  .site-header .login-link,
  .site-header .cart-link,
  .site-header .currency-switch.js-currency-custom{width:31px!important;min-width:31px!important;height:33px!important;}
}

/* V4.5.7 — mobile header cleanup: left logo block only, icons untouched.
   Removes accidental overlap from the old mobile menu slot and replaces the long duplicated subtitle with one clean mobile line. */
@media (max-width:760px){
  .site-header .topbar{
    grid-template-columns:minmax(118px,1fr) auto!important;
    align-items:start!important;
    gap:6px!important;
  }
  .site-header .mobile-menu-toggle{
    display:none!important;
  }
  .site-header .logo.logo-combo{
    max-width:132px!important;
    min-width:118px!important;
    overflow:hidden!important;
    padding-top:1px!important;
  }
  .site-header .logo-mainline{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .site-header .logo-mark{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
  }
  .site-header .logo-title{
    max-width:92px!important;
    font-size:16px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .site-header .logo.logo-combo small{
    display:block!important;
    max-width:128px!important;
    margin-top:2px!important;
    font-size:0!important;
    line-height:0!important;
    white-space:normal!important;
    overflow:hidden!important;
  }
  .site-header .logo.logo-combo small::after{
    content:'Натуральные камни и бусины Дзи';
    display:block!important;
    font-size:7.4px!important;
    line-height:1.08!important;
    font-weight:600!important;
    color:#37516a!important;
    letter-spacing:-.08px!important;
  }
  .site-header .head-actions{
    grid-template-columns:repeat(6,32px)!important;
    gap:2px!important;
    align-items:start!important;
    justify-content:end!important;
  }
}
@media (max-width:380px){
  .site-header .topbar{grid-template-columns:minmax(112px,1fr) auto!important;gap:4px!important;}
  .site-header .logo.logo-combo{max-width:122px!important;min-width:112px!important;}
  .site-header .logo.logo-combo small{max-width:120px!important;}
  .site-header .logo.logo-combo small::after{font-size:7px!important;}
  .site-header .logo-title{max-width:84px!important;font-size:15px!important;}
  .site-header .head-actions{grid-template-columns:repeat(6,31px)!important;gap:1px!important;}
}


/* V4.5.8 — mobile header left text dedupe.
   Keep right icons unchanged. Use only one real subtitle from layout.php, no generated duplicate text. */
@media (max-width:760px){
  .site-header .logo.logo-combo small::after,
  .site-header .logo.logo-combo .logo-subtitle::after{
    content:none!important;
    display:none!important;
  }
  .site-header .logo.logo-combo small.logo-subtitle{
    display:block!important;
    max-width:128px!important;
    margin-top:2px!important;
    font-size:7.4px!important;
    line-height:1.08!important;
    font-weight:600!important;
    color:#37516a!important;
    letter-spacing:-.08px!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
  }
}
@media (max-width:380px){
  .site-header .logo.logo-combo small.logo-subtitle{
    max-width:120px!important;
    font-size:7px!important;
  }
}

/* V4.5.9 — mobile header desktop-text conflict cleanup.
   Right menu icons are untouched. On mobile the left logo block shows only one clean subtitle line. */
@media (max-width:760px){
  .site-header .topbar{
    grid-template-columns:minmax(118px,1fr) auto!important;
    align-items:start!important;
    gap:5px!important;
  }

  /* Remove the old mobile menu button from the left side; the icon row on the right stays unchanged. */
  .site-header .mobile-menu-toggle{
    display:none!important;
  }

  .site-header .logo.logo-combo{
    max-width:132px!important;
    min-width:118px!important;
    overflow:hidden!important;
    padding-top:1px!important;
  }

  .site-header .logo-mainline{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    max-width:100%!important;
    overflow:hidden!important;
  }

  .site-header .logo-mark{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    display:block!important;
  }

  .site-header .logo-title{
    max-width:92px!important;
    font-size:16px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Hide any desktop/settings subtitle text in mobile and draw one controlled mobile subtitle only. */
  .site-header .logo.logo-combo small,
  .site-header .logo.logo-combo small.logo-subtitle{
    display:block!important;
    max-width:128px!important;
    margin-top:2px!important;
    font-size:0!important;
    line-height:0!important;
    height:auto!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
  }

  .site-header .logo.logo-combo small::after,
  .site-header .logo.logo-combo small.logo-subtitle::after{
    content:none!important;
    display:none!important;
  }

  .site-header .logo.logo-combo small::before,
  .site-header .logo.logo-combo small.logo-subtitle::before{
    content:'Натуральные камни и бусины Дзи'!important;
    display:block!important;
    font-size:7.4px!important;
    line-height:1.08!important;
    font-weight:600!important;
    color:#37516a!important;
    letter-spacing:-.08px!important;
    white-space:normal!important;
  }
}

@media (max-width:380px){
  .site-header .topbar{
    grid-template-columns:minmax(112px,1fr) auto!important;
    gap:4px!important;
  }
  .site-header .logo.logo-combo{
    max-width:122px!important;
    min-width:112px!important;
  }
  .site-header .logo.logo-combo small,
  .site-header .logo.logo-combo small.logo-subtitle{
    max-width:120px!important;
  }
  .site-header .logo.logo-combo small::before,
  .site-header .logo.logo-combo small.logo-subtitle::before{
    font-size:7px!important;
  }
}

/* V4.6.0 — clean mobile header only.
   Desktop header stays unchanged. Right icon menu stays in the same order and visual style. */
@media (max-width: 760px){
  .site-header{
    position:sticky!important;
    top:0!important;
    z-index:80!important;
    background:#fff!important;
    border-bottom:1px solid #e6edf5!important;
    box-shadow:0 6px 18px rgba(15,35,65,.05)!important;
    min-height:0!important;
    height:auto!important;
    overflow:visible!important;
    padding:0!important;
    margin:0!important;
  }

  /* Remove desktop header layers from mobile. */
  .site-header .header-strip,
  .site-header .header-center,
  .site-header .search:not(.mobile-header-search-form),
  .site-header .header-links,
  .site-header .messenger,
  .site-header .wa-header,
  .site-header .mobile-menu-toggle{
    display:none!important;
  }

  .site-header .topbar{
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:6px!important;
    min-height:0!important;
    height:auto!important;
    padding:8px 7px 7px!important;
    margin:0!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }

  /* Clean left logo block: one logo + one title + one subtitle. */
  .site-header .logo.logo-combo{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:128px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    text-align:left!important;
    gap:2px!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    line-height:1!important;
  }

  .site-header .logo-mainline{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:4px!important;
    width:100%!important;
    max-width:128px!important;
    min-height:24px!important;
    height:24px!important;
    overflow:hidden!important;
    line-height:1!important;
  }

  .site-header .logo-admin-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    flex:0 0 24px!important;
  }

  .site-header .logo-mark{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    object-fit:contain!important;
    display:block!important;
    margin:0!important;
  }

  .site-header .logo-title{
    display:block!important;
    max-width:88px!important;
    font-size:18px!important;
    line-height:1!important;
    font-weight:850!important;
    letter-spacing:-.45px!important;
    color:var(--blue)!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    margin:0!important;
    padding:0!important;
  }

  .site-header .logo.logo-combo small.logo-subtitle,
  .site-header .logo.logo-combo small{
    display:block!important;
    width:100%!important;
    max-width:128px!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    font-size:8.4px!important;
    line-height:1.12!important;
    font-weight:650!important;
    letter-spacing:-.08px!important;
    color:#4c5f75!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
  }

  .site-header .logo.logo-combo small::before,
  .site-header .logo.logo-combo small::after,
  .site-header .logo.logo-combo small.logo-subtitle::before,
  .site-header .logo.logo-combo small.logo-subtitle::after{
    content:none!important;
    display:none!important;
  }

  /* Keep the existing icon menu, only prevent wrapping and empty vertical space. */
  .site-header .head-actions{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:flex-end!important;
    gap:3px!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    flex-wrap:nowrap!important;
  }

  .site-header .mobile-header-search-form{
    display:none!important;
    position:absolute!important;
    left:7px!important;
    right:7px!important;
    top:54px!important;
    z-index:90!important;
    margin:0!important;
  }
  body.page-index.mobile-search-open .site-header .mobile-header-search-form,
  body.page-catalog.mobile-search-open .site-header .mobile-header-search-form{
    display:flex!important;
  }
}

@media (max-width: 380px){
  .site-header .topbar{padding:7px 6px 6px!important;gap:4px!important;}
  .site-header .logo.logo-combo{max-width:122px!important;}
  .site-header .logo-mainline{max-width:122px!important;}
  .site-header .logo-title{font-size:17px!important;max-width:82px!important;}
  .site-header .logo.logo-combo small.logo-subtitle,
  .site-header .logo.logo-combo small{font-size:8px!important;max-width:122px!important;}
  .site-header .head-actions{gap:2px!important;}
}


/* V4.6.1 — mobile search flow + lighter header navigation.
   Search is no longer an absolute layer over categories: it opens in normal header flow,
   so category row moves down naturally. Desktop is untouched. */
@media (max-width:760px){
  body:not(.page-catalog):not(.page-index) .site-header .mobile-search-toggle,
  body:not(.page-catalog):not(.page-index) .site-header .mobile-header-search-form{
    display:none!important;
  }

  body.page-catalog .site-header .mobile-search-toggle,
  body.page-index .site-header .mobile-search-toggle{
    display:inline-flex!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  .site-header .mobile-header-search-form{
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    z-index:auto!important;
    width:calc(100% - 14px)!important;
    max-width:calc(100% - 14px)!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr) 64px!important;
    align-items:center!important;
    gap:5px!important;
    margin:0 7px!important;
    padding:0 5px!important;
    box-sizing:border-box!important;
    border:1px solid transparent!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
    opacity:0!important;
    transform:none!important;
    pointer-events:none!important;
    transition:max-height .14s ease, height .14s ease, opacity .10s ease, margin-bottom .14s ease, border-color .14s ease, box-shadow .14s ease!important;
  }

  body.page-catalog.mobile-search-open .site-header .mobile-header-search-form,
  body.page-index.mobile-search-open .site-header .mobile-header-search-form{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    margin:0 7px 7px!important;
    padding:3px 5px!important;
    border-color:#dbe7f4!important;
    box-shadow:0 8px 20px rgba(15,35,65,.08)!important;
    opacity:1!important;
    pointer-events:auto!important;
  }

  body.mobile-search-open .site-header .logo-combo small,
  body.mobile-search-open .site-header .logo.logo-combo small.logo-subtitle{
    opacity:1!important;
    visibility:visible!important;
  }

  .site-header .mobile-header-search-form input[name="q"]{
    min-width:0!important;
    width:100%!important;
    height:34px!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:13.5px!important;
    line-height:34px!important;
    color:#0d2544!important;
  }
  .site-header .mobile-header-search-form button[type="submit"]{
    width:64px!important;
    min-width:64px!important;
    height:34px!important;
    border-radius:12px!important;
    border:1px solid #dbe7f4!important;
    background:#f8fbff!important;
    color:#0f3a5f!important;
    font-size:12.5px!important;
    font-weight:700!important;
    padding:0!important;
  }

  /* Category must stay below opened search, never under it. */
  body.page-catalog .mobile-category-select-row,
  body.page-index .mobile-home-category-form{
    position:relative!important;
    z-index:1!important;
  }

  /* Lighter tap effect for menu icons; no heavy transform/page flash. */
  .site-header .head-actions a,
  .site-header .head-actions button,
  .site-header .currency-current{
    transition:background-color .08s ease, border-color .08s ease, opacity .08s ease!important;
    transform:none!important;
  }
  .site-header .head-actions a:active,
  .site-header .head-actions button:active,
  .site-header .currency-current:active{
    opacity:.86!important;
    transform:none!important;
  }
}

/* V4.6.2 FINAL — mobile header stable grid + classic search behavior.
   Scope: mobile only. Desktop header untouched. Icons are not redesigned. */
@media (max-width:760px){
  .site-header .topbar{
    display:grid!important;
    grid-template-columns:minmax(118px, 1fr) auto!important;
    grid-template-rows:auto auto!important;
    align-items:start!important;
    column-gap:6px!important;
    row-gap:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:8px 7px 7px!important;
    margin:0!important;
    background:#fff!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  .site-header .logo.logo-combo{
    grid-column:1!important;
    grid-row:1!important;
    align-self:start!important;
    justify-self:start!important;
    width:100%!important;
    max-width:150px!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  .site-header .logo-mainline{
    max-width:150px!important;
    height:28px!important;
    min-height:28px!important;
    gap:4px!important;
  }

  .site-header .logo-admin-link,
  .site-header .logo-mark{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    flex-basis:26px!important;
  }

  .site-header .logo-title{
    font-size:18px!important;
    line-height:1!important;
    max-width:104px!important;
  }

  .site-header .logo.logo-combo small.logo-subtitle,
  .site-header .logo.logo-combo small{
    display:block!important;
    max-width:150px!important;
    font-size:8.4px!important;
    line-height:1.12!important;
    margin:0!important;
    padding:0!important;
    min-height:0!important;
    opacity:1!important;
    visibility:visible!important;
  }

  .site-header .head-actions{
    grid-column:2!important;
    grid-row:1!important;
    align-self:start!important;
    justify-self:end!important;
    margin-left:auto!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:3px!important;
    width:max-content!important;
    max-width:none!important;
    min-width:0!important;
    transform:none!important;
  }

  .site-header .mobile-header-search-form{
    grid-column:1 / -1!important;
    grid-row:2!important;
    position:static!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr) 58px!important;
    align-items:center!important;
    gap:5px!important;
    width:100%!important;
    max-width:100%!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0 6px!important;
    border:1px solid transparent!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:max-height .14s ease,height .14s ease,opacity .1s ease,margin-top .14s ease,border-color .14s ease,box-shadow .14s ease!important;
  }

  body.page-index.mobile-search-open .site-header .mobile-header-search-form,
  body.page-catalog.mobile-search-open .site-header .mobile-header-search-form{
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin-top:6px!important;
    padding:3px 6px!important;
    border-color:#dbe7f4!important;
    box-shadow:0 8px 20px rgba(15,35,65,.08)!important;
    opacity:1!important;
    pointer-events:auto!important;
  }

  /* Old good behavior: search replaces subtitle visually, then subtitle comes back. */
  body.page-index.mobile-search-open .site-header .logo.logo-combo small.logo-subtitle,
  body.page-catalog.mobile-search-open .site-header .logo.logo-combo small.logo-subtitle,
  body.page-index.mobile-search-open .site-header .logo.logo-combo small,
  body.page-catalog.mobile-search-open .site-header .logo.logo-combo small{
    opacity:0!important;
    visibility:hidden!important;
    max-height:0!important;
    line-height:0!important;
  }

  body:not(.page-index):not(.page-catalog) .site-header .mobile-search-toggle,
  body:not(.page-index):not(.page-catalog) .site-header .mobile-header-search-form{
    display:none!important;
  }
}

@media (max-width:380px){
  .site-header .topbar{grid-template-columns:minmax(112px,1fr) auto!important;column-gap:4px!important;padding:7px 6px 6px!important;}
  .site-header .logo.logo-combo{max-width:138px!important;}
  .site-header .logo-mainline{max-width:138px!important;}
  .site-header .logo-title{font-size:17px!important;max-width:96px!important;}
  .site-header .logo.logo-combo small.logo-subtitle,
  .site-header .logo.logo-combo small{font-size:8px!important;max-width:138px!important;}
  .site-header .head-actions{gap:2px!important;}
}

/* RC57 final cascade guard — keep these rules last. */
@media (max-width:768px){
  html{min-height:100%!important;}
  body.page-index,body.page-catalog{min-height:100vh!important;min-height:100svh!important;display:flex!important;flex-direction:column!important;}
  body.page-index>.container,body.page-catalog>.container{flex:1 0 auto!important;width:100%!important;padding-bottom:8px!important;}
  body.page-index .catalog-load-more,body.page-catalog .catalog-load-more,body.page-index .pagination,body.page-catalog .pagination{display:none!important;}
  body.page-index>.footer,body.page-catalog>.footer{flex:0 0 auto!important;width:100%!important;min-height:0!important;margin-top:auto!important;padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px))!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;align-items:center!important;gap:4px!important;text-align:center!important;font-size:10.5px!important;line-height:1.2!important;}
  body.page-index>.footer .mobile-footer-nav,body.page-catalog>.footer .mobile-footer-nav{display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;gap:10px!important;width:100%!important;margin:0 0 2px!important;padding:0!important;font-size:10px!important;line-height:1.15!important;}
  body.page-index>.footer .mobile-footer-nav a,body.page-catalog>.footer .mobile-footer-nav a{color:#fff!important;white-space:nowrap!important;}
  body.page-index>.footer>div:first-of-type,body.page-catalog>.footer>div:first-of-type{margin:0!important;line-height:1!important;}
  body.page-index>.footer>div:first-of-type>b,body.page-catalog>.footer>div:first-of-type>b{font-size:12px!important;line-height:1!important;}
  body.page-index>.footer>div:first-of-type>p,body.page-catalog>.footer>div:first-of-type>p{display:none!important;}
  body.page-index>.footer .footer-links,body.page-catalog>.footer .footer-links{display:grid!important;gap:2px!important;margin:0!important;font-size:10px!important;line-height:1.15!important;}
body.page-index>.footer .visitor-counter,body.page-catalog>.footer .visitor-counter{font-size:9.5px!important;line-height:1.15!important;}
}

/* RC59 final cascade guard — 12-card batches and viewport-safe catalog footer. */
@media (max-width:768px){
  html,body.page-catalog{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
  body.page-catalog>.container{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
  body.page-catalog .catalog-load-more{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:100%!important;min-height:34px!important;margin:10px 0 0!important;box-sizing:border-box!important;}
  body.page-catalog .pagination{display:none!important;}
  body.page-catalog>.footer{width:100%!important;max-width:100vw!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important;margin-top:auto!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px))!important;gap:3px!important;}
  body.page-catalog>.footer .mobile-footer-nav{max-width:100%!important;gap:8px!important;font-size:9.5px!important;}
  body.page-catalog>.footer .footer-links{max-width:100%!important;font-size:9.5px!important;overflow-wrap:anywhere!important;}
  body.page-catalog>.footer .visitor-counter{font-size:9px!important;}
}

/* Product detail sharing. Original mobile catalogue rules remain unchanged. */
@media (max-width:768px){
 html body.page-product .product-info-detail .product-detail-copy{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;margin:0 0 0 8px!important;border:1px solid #dbe3ec!important;border-radius:8px!important;background:#f8fafc!important;color:#334155!important;cursor:pointer;vertical-align:middle;flex-shrink:0!important}
 html body.page-product .product-detail-copy.is-copied{color:#15803d!important;background:#ecfdf5!important}
 html body.page-product .product-detail-copy:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
 body.page-product .product-copy-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;z-index:10000;padding:10px 16px;border-radius:8px;background:#1e293b;color:#fff;font-size:14px}
 body.page-product .product-copy-toast[hidden]{display:none!important}
}

/* Mobile catalogue: photo first, price and cart in a separate row below. */
@media (max-width:768px){
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card{position:relative!important;display:flex!important;flex-direction:column!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;padding:0!important;background:#fff!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .img{position:relative!important;inset:auto!important;display:block!important;aspect-ratio:1/1!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;margin:0!important;border-radius:9px 9px 0 0!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .img picture{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .img img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body{position:static!important;inset:auto!important;transform:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) 29px!important;align-items:center!important;gap:4px!important;width:100%!important;min-height:39px!important;height:auto!important;padding:5px!important;box-sizing:border-box!important;background:#fff!important;pointer-events:auto!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body>small,html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body>h3,html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body>p,html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-stock-line{display:none!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .price-row{position:static!important;inset:auto!important;transform:none!important;grid-column:1!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;width:auto!important;max-width:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:0!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .card-actions,html body:is(.page-index,.page-catalog) main.container .product-card.product-card form.js-add-to-cart{position:static!important;inset:auto!important;transform:none!important;grid-column:2!important;grid-row:1!important;display:block!important;width:29px!important;margin:0!important;padding:0!important;pointer-events:auto!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .add-cart-btn,html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body>.btn.disabled{position:static!important;inset:auto!important;transform:none!important;grid-column:2!important;grid-row:1!important;inline-size:29px!important;block-size:29px!important;min-inline-size:29px!important;min-block-size:29px!important;width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;margin:0!important;padding:0!important;font-size:0!important;box-shadow:none!important}
}

/* Shared mobile page layout: footer below content, at viewport bottom on short pages. */
@media (max-width:768px){
 html{min-height:100%!important;height:auto!important}
 html body[class*="page-"]{display:flex!important;flex-direction:column!important;min-height:100vh!important;min-height:100dvh!important;height:auto!important;max-height:none!important;margin:0!important;box-sizing:border-box!important}
 html body[class*="page-"]>header.site-header{flex:0 0 auto!important}
 html body[class*="page-"]>main.container{flex:1 0 auto!important;min-height:0!important;width:100%!important;box-sizing:border-box!important}
 html body[class*="page-"]>footer.footer{position:static!important;inset:auto!important;transform:none!important;flex:0 0 auto!important;margin-top:auto!important;margin-bottom:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* Mobile catalogue titles: one line between the photo and price/cart row. */
@media (max-width:768px){
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body{grid-template-rows:auto auto!important;row-gap:5px!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body>h3{position:static!important;inset:auto!important;transform:none!important;display:block!important;grid-column:1/-1!important;grid-row:1!important;width:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;height:auto!important;margin:0!important;padding:0!important;font-size:11px!important;line-height:1.3!important;font-weight:600!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;-webkit-line-clamp:unset!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body>h3>a{display:block!important;width:100%!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-decoration:none!important;color:#0f3a5f!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body>h3 .mobile-product-stock{display:none!important}
 html body:is(.page-index,.page-catalog) main.container .product-card.product-card .price-row,html body:is(.page-index,.page-catalog) main.container .product-card.product-card .card-actions,html body:is(.page-index,.page-catalog) main.container .product-card.product-card form.js-add-to-cart,html body:is(.page-index,.page-catalog) main.container .product-card.product-card .product-body>.btn.disabled{grid-row:2!important}
}

/* Administrator-only catalogue controls. */
@media (max-width:768px){

  html body main.container article.product-card .catalog-admin-tools{position:absolute!important;inset:7px 7px auto auto!important;z-index:8!important;display:flex!important;align-items:center!important;gap:4px!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;pointer-events:auto!important}
  html body main.container article.product-card .catalog-admin-tools>form{position:static!important;display:block!important;width:auto!important;margin:0!important;padding:0!important}
  html body main.container article.product-card .catalog-admin-tools .catalog-admin-action{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;border:1px solid #cbd5e1!important;border-radius:7px!important;background:#fff!important;color:#0f3a5f!important;font-size:16px!important;font-weight:600!important;line-height:1!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important;transform:none!important;pointer-events:auto!important}
  html body main.container article.product-card .catalog-admin-tools .catalog-admin-archive{color:#9a3412!important;font-size:14px!important}
  html body main.container article.product-card .catalog-admin-tools .catalog-admin-action:focus-visible{outline:2px solid #2563eb!important;outline-offset:2px!important}
  html body main.container article.product-card .catalog-admin-tools .catalog-admin-edit-desktop{display:none!important}
}

/* Sale shortcut before catalogue sort. */
@media (max-width:768px){
 html body.page-catalog main.container a.catalog-sale-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;padding:6px 9px!important;border:1px solid #dc2626!important;border-radius:8px!important;background:#fef2f2!important;color:#b91c1c!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;text-decoration:none!important;white-space:nowrap!important;box-sizing:border-box!important}
 html body.page-catalog main.container a.catalog-sale-link:focus-visible{outline:2px solid #dc2626;outline-offset:2px}
html body.page-catalog main.container .mobile-catalog-toolbar{grid-template-columns:minmax(0,1fr) auto 42px!important;gap:5px!important}
 html body.page-catalog main.container .catalog-title-row>.catalog-sale-link--desktop{display:none!important}
 html body.page-catalog main.container a.catalog-sale-link{font-size:11px!important;padding:7px 6px!important}
}

/* Mobile catalogue sale prices: show the original crossed-out price above the
   discounted price. This only changes price presentation in product cards. */
@media (max-width:768px){
  html body:is(.page-index,.page-catalog) main.container .product-card.product-card .price-row{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  html body:is(.page-index,.page-catalog) main.container .product-card.product-card .price-row .old-price{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    color:#777f8c!important;
    font-size:10px!important;
    font-weight:500!important;
    line-height:1.15!important;
    text-decoration:line-through!important;
    text-decoration-thickness:1px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html body:is(.page-index,.page-catalog) main.container .product-card.product-card .price-row b{
    display:block!important;
    max-width:100%!important;
    margin:0!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
}
