/* One.v2.43 — complete responsive viewport and mobile-fit system.
   Loaded last on every OnezaMall page. It changes layout only; data and logic are untouched. */
:root{
  --mobile-gutter:12px;
  --tablet-gutter:18px;
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-top:env(safe-area-inset-top,0px);
}
html{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:hidden!important;
}
*,*::before,*::after{box-sizing:border-box}
img,svg,video,canvas,picture{max-width:100%;height:auto}
iframe{max-width:100%}
button,input,select,textarea{max-width:100%;min-width:0}
pre,code{white-space:pre-wrap;overflow-wrap:anywhere}
:where(.owner-main,.partner-main,.customer-main,main,.owner-panel,.partner-panel,.customer-panel,
.owner-card,.partner-card,.customer-card,.modal-card,.owner-modal-card,.partner-order-modal-card,.customer-modal-card){min-width:0}

/* ---------- Public header / navigation ---------- */
.reference-storefront-v415 .reference-wide-shell{width:min(calc(100% - 28px),1440px)!important;max-width:1440px!important}
.reference-storefront-v415 .reference-masthead,
.reference-storefront-v415 .reference-nav-shell,
.reference-storefront-v415 .utility-inner{min-width:0}
.reference-storefront-v415 .reference-global-search{min-width:0}
.reference-storefront-v415 .reference-header-actions{min-width:0;flex-wrap:nowrap}
.reference-storefront-v415 .split-login-actions{min-width:0}
.reference-storefront-v415 .reference-main-nav{min-width:0;scrollbar-width:thin}

/* ---------- Hero: fixed, stable and screen-fitting at every width ---------- */
.reference-storefront-v415 #home{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  isolation:isolate;
}
.reference-storefront-v415 #home .reference-hero-copy,
.reference-storefront-v415 #home .reference-hero-art,
.reference-storefront-v415 #home .reference-hero-visitors{min-width:0!important}
.reference-storefront-v415 #home .reference-hero-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.reference-storefront-v415 #home .reference-hero-copy h1,
.reference-storefront-v415 #home .reference-hero-copy p,
.reference-storefront-v415 #home .reference-hero-copy>span{overflow-wrap:anywhere}
.reference-storefront-v415 #home .reference-hero-art{overflow:hidden}
.reference-storefront-v415 #home .reference-hero-art img{width:100%!important;height:100%!important;max-width:none!important;display:block!important}
.reference-storefront-v415 #home .reference-slider-arrow.prev{left:10px!important}
.reference-storefront-v415 #home .reference-slider-arrow.next{right:10px!important}

@media (max-width:1200px){
  .reference-storefront-v415 #home[data-hero-fixed-frame="on"],
  .reference-storefront-v415 #home{
    grid-template-columns:minmax(0,1fr) minmax(330px,42%)!important;
  }
  .reference-storefront-v415 #home .reference-hero-visitors{display:none!important}
}

@media (max-width:900px){
  .reference-storefront-v415 .reference-wide-shell{width:calc(100% - 20px)!important}
  .reference-storefront-v415 .utility-inner{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  .reference-storefront-v415 .utility-welcome{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .reference-storefront-v415 .reference-masthead{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:10px 0!important}
  .reference-storefront-v415 .reference-logo{min-width:0}
  .reference-storefront-v415 .reference-logo img{width:min(205px,58vw)!important;height:auto!important}
  .reference-storefront-v415 .reference-global-search{grid-column:1/-1!important;grid-row:2!important;width:100%!important;height:44px!important}
  .reference-storefront-v415 .reference-header-actions{justify-self:end!important;gap:4px!important}
  .reference-storefront-v415 .reference-action{min-width:44px!important;width:44px!important;padding:4px!important}
  .reference-storefront-v415 .reference-action b{font-size:8px!important}
  .reference-storefront-v415 .split-login-button{min-width:72px!important;padding:7px 8px!important}
  .reference-storefront-v415 .split-login-icon{font-size:15px!important}
  .reference-storefront-v415 .split-login-label strong,.reference-storefront-v415 .split-login-label small{font-size:8px!important}
  .reference-storefront-v415 .reference-nav-shell{grid-template-columns:1fr!important;position:relative!important}
  .reference-storefront-v415 .reference-all-categories{width:100%!important;min-height:44px!important}

  .reference-storefront-v415 #home[data-hero-fixed-frame="on"],
  .reference-storefront-v415 #home{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(210px,42%) minmax(0,1fr)!important;
    height:clamp(550px,76svh,650px)!important;
    min-height:clamp(550px,76svh,650px)!important;
    max-height:clamp(550px,76svh,650px)!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .reference-storefront-v415 #home .reference-hero-art,
  .reference-storefront-v415 #home[data-hero-fixed-frame="on"] .reference-hero-art{
    position:relative!important;
    inset:auto!important;
    grid-row:1!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    opacity:1!important;
    z-index:1!important;
    order:0!important;
    background:#f4f6ef;
  }
  .reference-storefront-v415 #home .reference-hero-art img,
  .reference-storefront-v415 #home[data-hero-fixed-frame="on"] .reference-hero-art img{
    object-fit:var(--hero-image-fit,cover)!important;
    object-position:center center!important;
    mix-blend-mode:normal!important;
  }
  .reference-storefront-v415 #home .reference-hero-copy,
  .reference-storefront-v415 #home[data-hero-fixed-frame="on"] .reference-hero-copy{
    grid-row:2!important;
    padding:18px 28px 18px!important;
    justify-content:flex-start!important;
    overflow:hidden!important;
    z-index:3!important;
    background:linear-gradient(180deg,rgba(255,253,247,.98),rgba(247,250,244,.99));
  }
  .reference-storefront-v415 #home .reference-hero-copy>span{font-size:10px!important;line-height:1.2!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
  .reference-storefront-v415 #home .reference-hero-copy h1{font-size:clamp(30px,6.4vw,42px)!important;line-height:1!important;margin:6px 0 7px!important;max-height:2.1em!important}
  .reference-storefront-v415 #home .reference-hero-copy>p{font-size:13px!important;line-height:1.45!important;margin:0 0 12px!important;max-width:none!important;-webkit-line-clamp:2!important}
  .reference-storefront-v415 #home .reference-hero-features{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:0 0 12px!important}
  .reference-storefront-v415 #home .reference-hero-features>span{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;column-gap:3px!important;font-size:14px!important;min-width:0!important}
  .reference-storefront-v415 #home .reference-hero-features b{font-size:8px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  .reference-storefront-v415 #home .reference-hero-features small{font-size:7px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  .reference-storefront-v415 #home .reference-hero-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:auto!important}
  .reference-storefront-v415 #home .reference-btn{min-width:0!important;width:100%!important;height:42px!important;padding:0 9px!important;font-size:11px!important}
  .reference-storefront-v415 #home .reference-hero-dots{margin:10px 0 0!important}
  .reference-storefront-v415 #home .reference-slider-arrow{top:calc(21% - 19px)!important;width:38px!important;height:38px!important;font-size:27px!important}
}

@media (max-width:620px){
  .reference-storefront-v415 .reference-wide-shell{width:calc(100% - 16px)!important}
  .reference-storefront-v415 .reference-utility-bar{font-size:9px!important}
  .reference-storefront-v415 .utility-inner{height:auto!important;min-height:34px!important}
  .reference-storefront-v415 .utility-ship{gap:4px!important}
  .reference-storefront-v415 .utility-language{display:none!important}
  .reference-storefront-v415 .reference-logo img{width:min(172px,48vw)!important}
  .reference-storefront-v415 .reference-header-actions .reference-action{display:none!important}
  .reference-storefront-v415 .reference-header-actions .cart-btn{display:flex!important}
  .reference-storefront-v415 .split-login-button{min-width:64px!important;border-radius:9px!important}

  .reference-storefront-v415 #home[data-hero-fixed-frame="on"],
  .reference-storefront-v415 #home{
    grid-template-rows:178px minmax(0,1fr)!important;
    height:520px!important;
    min-height:520px!important;
    max-height:520px!important;
    width:100%!important;
    margin:8px 0 0!important;
    border-radius:15px!important;
  }
  .reference-storefront-v415 #home .reference-hero-copy,
  .reference-storefront-v415 #home[data-hero-fixed-frame="on"] .reference-hero-copy{padding:15px 18px 15px!important}
  .reference-storefront-v415 #home .reference-hero-copy h1{font-size:clamp(27px,8.4vw,34px)!important}
  .reference-storefront-v415 #home .reference-hero-copy>p{font-size:12px!important;margin-bottom:10px!important}
  .reference-storefront-v415 #home .reference-hero-features{grid-template-columns:1fr 1fr!important;gap:5px 10px!important}
  .reference-storefront-v415 #home .reference-hero-features>span{grid-template-columns:18px 1fr!important}
  .reference-storefront-v415 #home .reference-hero-features small{display:none!important}
  .reference-storefront-v415 #home .reference-hero-buttons{grid-template-columns:1fr 1fr!important}
  .reference-storefront-v415 #home .reference-btn{height:40px!important;font-size:10px!important}
  .reference-storefront-v415 #home .reference-slider-arrow{top:70px!important;width:34px!important;height:34px!important}
  .reference-storefront-v415 #home .reference-slider-arrow.prev{left:6px!important}
  .reference-storefront-v415 #home .reference-slider-arrow.next{right:6px!important}

  .reference-storefront-v415 .reference-trust-row{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;gap:8px!important;padding:8px!important}
  .reference-storefront-v415 .reference-trust-row article{flex:0 0 185px!important;scroll-snap-align:start!important;display:flex!important}
  .reference-storefront-v415 .reference-trust-row article:nth-child(n){display:flex!important}
  .reference-storefront-v415 .reference-commerce-layout{grid-template-columns:1fr!important;gap:12px!important}
  .reference-storefront-v415 .reference-commerce-primary,.reference-storefront-v415 .reference-commerce-sidebar{min-width:0!important}
  .reference-storefront-v415 .reference-category-panel,.reference-storefront-v415 .reference-products-panel{padding:12px!important;border-radius:15px!important}
  .reference-storefront-v415 .reference-section-title{gap:8px!important;align-items:flex-start!important}
  .reference-storefront-v415 .reference-section-title h2{font-size:21px!important;line-height:1.1!important}
  .reference-storefront-v415 .reference-section-title button{font-size:10px!important;white-space:nowrap!important}
  .reference-storefront-v415 .reference-products-panel .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .reference-storefront-v415 .reference-products-panel .product-card{min-width:0!important}
  .reference-storefront-v415 .reference-products-panel .product-img{height:132px!important}
  .reference-storefront-v415 .reference-products-panel .product-body{min-height:0!important;padding:11px!important}
  .reference-storefront-v415 .reference-products-panel .product-body h3{font-size:13px!important;line-height:1.25!important}
  .reference-storefront-v415 .reference-commerce-sidebar{display:grid!important;grid-template-columns:1fr!important}
  .reference-storefront-v415 .reference-side-services{grid-template-columns:1fr 1fr 1fr!important;gap:5px!important}
  .reference-storefront-v415 .reference-side-services article{padding:10px 5px!important;min-width:0!important}
  .reference-storefront-v415 .reference-side-services b{font-size:8px!important}
  .reference-storefront-v415 .reference-side-services small{font-size:7px!important}
  .reference-storefront-v415 .reference-newsletter div{grid-template-columns:minmax(0,1fr) auto!important}
  .reference-storefront-v415 .wholesale-banner,.reference-storefront-v415 .section,.reference-storefront-v415 .company-section{margin-left:8px!important;margin-right:8px!important;padding-left:14px!important;padding-right:14px!important}
  .reference-storefront-v415 .steps-grid{grid-template-columns:1fr!important}
  .reference-storefront-v415 .company-card{grid-template-columns:1fr!important;text-align:center!important}
}

@media (max-width:420px){
  .reference-storefront-v415 #home[data-hero-fixed-frame="on"],
  .reference-storefront-v415 #home{grid-template-rows:158px minmax(0,1fr)!important;height:500px!important;min-height:500px!important;max-height:500px!important}
  .reference-storefront-v415 #home .reference-hero-copy{padding:13px 14px!important}
  .reference-storefront-v415 #home .reference-hero-copy h1{font-size:27px!important}
  .reference-storefront-v415 #home .reference-hero-copy>p{font-size:11px!important;-webkit-line-clamp:2!important}
  .reference-storefront-v415 #home .reference-hero-features{margin-bottom:8px!important}
  .reference-storefront-v415 #home .reference-btn{font-size:9px!important;padding:0 5px!important}
  .reference-storefront-v415 #home .reference-slider-arrow{top:62px!important}
  .reference-storefront-v415 .reference-products-panel .product-grid{gap:7px!important}
  .reference-storefront-v415 .reference-products-panel .product-img{height:118px!important}
  .reference-storefront-v415 .reference-products-panel .product-body{padding:9px!important}
}

/* ---------- Public modal, cart and login window fit ---------- */
.modal,.reference-storefront-v415 .modal{padding:12px!important;align-items:center!important;overflow:auto!important}
.modal-card,.reference-storefront-v415 .modal-card{width:min(760px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;overscroll-behavior:contain!important}
.modal-card.wide,.reference-storefront-v415 .modal-card.wide{width:min(1080px,calc(100vw - 24px))!important}
.product-detail-layout{min-width:0!important}
@media(max-width:720px){
  .modal,.reference-storefront-v415 .modal{padding:6px!important;align-items:stretch!important}
  .modal-card,.reference-storefront-v415 .modal-card,.modal-card.wide,.reference-storefront-v415 .modal-card.wide{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 12px)!important;margin:auto!important;border-radius:15px!important;padding:48px 13px 18px!important}
  .modal-close,.reference-storefront-v415 .modal-close{position:sticky!important;float:right!important;top:0!important;right:0!important;z-index:10!important}
  .product-detail-layout{grid-template-columns:1fr!important}
  .product-detail-image{min-height:230px!important}
  .product-detail-actions{display:grid!important;grid-template-columns:1fr!important}
  .demo-form.two-col,.auth-form.two-col{grid-template-columns:1fr!important}
  .demo-form .span-2,.auth-form .span-2{grid-column:auto!important}
  .cart-drawer,.reference-storefront-v415 .cart-drawer{width:100vw!important;max-width:100vw!important;inset:0!important;border-radius:0!important}
  .drawer-head,.drawer-foot{padding-left:14px!important;padding-right:14px!important}
}

/* ---------- Owner / Seller / Customer portals ---------- */
.owner-app,.partner-app,.customer-app{width:100%;max-width:100%;min-width:0}
.owner-sidebar,.partner-sidebar,.customer-sidebar{overscroll-behavior:contain}
.owner-content,.partner-content,.customer-content,
.owner-panel,.partner-panel,.customer-panel{width:100%;max-width:100%;min-width:0}
.owner-title-row,.partner-title-row,.customer-title-row,
.owner-card-head,.partner-card-head,.customer-card-head{min-width:0}
.owner-title-row>*,.partner-title-row>*,.customer-title-row>*,
.owner-card-head>*,.partner-card-head>*,.customer-card-head>*{min-width:0}
.owner-table-wrap,.partner-table-wrap,.customer-table-wrap{width:100%;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.owner-table,.partner-table,.customer-table{max-width:none}

@media(max-width:1100px){
  .owner-app,.partner-app,.customer-app{grid-template-columns:1fr!important}
  .owner-sidebar,.partner-sidebar,.customer-sidebar{
    position:fixed!important;inset:0 auto 0 0!important;top:0!important;width:min(285px,86vw)!important;height:100dvh!important;max-height:100dvh!important;transform:translateX(-105%)!important;transition:transform .24s ease!important;z-index:100!important;overflow-y:auto!important;padding-bottom:calc(18px + var(--safe-bottom))!important;
  }
  .owner-sidebar.open,.partner-sidebar.open,.customer-sidebar.open{left:0!important;transform:translateX(0)!important}
  .owner-menu-button,.partner-menu,.customer-menu{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important}
  .owner-topbar,.partner-topbar,.customer-topbar{position:relative!important;top:auto!important;min-height:66px!important;height:auto!important;padding:10px 16px!important;gap:10px!important}
  .owner-main,.partner-main,.customer-main{width:100%!important;min-width:0!important}
  .owner-panel,.partner-panel,.customer-panel{padding:20px 16px!important}
}

@media(max-width:760px){
  .owner-panel,.partner-panel,.customer-panel{padding:14px var(--mobile-gutter) calc(22px + var(--safe-bottom))!important}
  .owner-topbar,.partner-topbar,.customer-topbar{padding:9px 12px!important}
  .owner-topbar>div,.partner-topbar>div,.customer-topbar>div{min-width:0!important}
  .owner-topbar small,.partner-topbar small,.customer-topbar small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45vw}
  .owner-account-chip div,.partner-account-chip div,.customer-account-chip div{display:none!important}
  .owner-title-row,.partner-title-row,.customer-title-row{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-bottom:16px!important}
  .owner-title-row h1,.partner-title-row h1,.customer-title-row h1{font-size:clamp(26px,8vw,34px)!important;line-height:1.05!important}
  .owner-title-actions,.partner-title-actions,.customer-title-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .owner-title-actions>*,.partner-title-actions>*,.customer-title-actions>*{width:100%!important}

  :where(.owner-kpis,.partner-kpis,.customer-kpis,.owner-grid,.partner-grid,.customer-grid,
  .owner-security-grid,.partner-dashboard-grid,.customer-dashboard-grid,.owner-account-grid,.partner-account-grid,.customer-account-grid,
  .owner-shop-kpis,.owner-readiness-kpis,.owner-launch-kpis,.owner-visitor-kpis){grid-template-columns:1fr!important}
  :where(.owner-card,.partner-card,.customer-card){padding:15px!important;border-radius:15px!important}
  :where(.owner-card-head,.partner-card-head,.customer-card-head){display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  :where(.owner-toolbar,.partner-toolbar,.customer-toolbar,.owner-form-grid,.partner-form-grid,.customer-form-grid,
  .owner-homepage-grid,.owner-slide-layout,.owner-homepage-panel-list,.owner-homepage-help-grid,
  .owner-shop-form-grid,.owner-shop-product-grid,.owner-support-grid,.customer-cart-layout,.customer-form-columns,.customer-profile-form){grid-template-columns:1fr!important}
  :where(.span-2,.wide){grid-column:auto!important}
  :where(.owner-form-actions,.partner-form-actions,.customer-form-actions,.owner-modal-actions,.partner-modal-actions,.customer-modal-actions){display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  :where(.owner-form-actions,.partner-form-actions,.customer-form-actions,.owner-modal-actions,.partner-modal-actions,.customer-modal-actions)>*{width:100%!important}

  .owner-homepage-panel-item{grid-template-columns:56px minmax(0,1fr) auto!important;padding:10px!important}
  .owner-homepage-panel-thumb{width:56px!important;height:56px!important}
  .owner-homepage-panel-item strong,.owner-homepage-panel-item small{overflow-wrap:anywhere!important}
  .owner-homepage-preview img,.owner-hero-preview img{width:100%!important;max-height:240px!important;object-fit:cover!important}
  .owner-slide-list{max-height:none!important}
  .owner-slide-layout{gap:12px!important}
  .owner-hero-global-form{display:grid!important;grid-template-columns:1fr!important}

  .owner-modal,.partner-order-modal,.customer-modal{padding:6px!important;align-items:stretch!important;overflow:auto!important}
  .owner-modal-card,.partner-order-modal-card,.customer-modal-card{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 12px)!important;border-radius:15px!important;padding:48px 13px 18px!important;margin:auto!important}
  .owner-modal-close,.partner-order-modal-close,.customer-modal-close{top:10px!important;right:10px!important;z-index:10!important}
  .owner-modal-summary,.partner-order-summary,.customer-modal-summary{grid-template-columns:1fr!important}
  .owner-order-timeline,.partner-order-timeline,.customer-order-timeline{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .owner-order-fields,.partner-order-fields,.customer-order-fields{grid-template-columns:1fr!important}

  .owner-table,.partner-table,.customer-table{min-width:720px!important}
  .owner-table-wrap,.partner-table-wrap,.customer-table-wrap{border-radius:12px!important;box-shadow:inset -18px 0 18px -20px rgba(0,0,0,.35)}
  .owner-login-shell,.partner-auth-shell,.customer-auth-shell{padding:14px!important;align-items:start!important;padding-top:calc(18px + var(--safe-top))!important}
  .owner-login-card,.partner-auth-card,.customer-auth-card{width:100%!important;max-width:520px!important;padding:22px 16px!important;border-radius:18px!important}
  .owner-tabs,.auth-tabs{grid-template-columns:1fr 1fr!important}
  .portal-alert-drawer{width:100vw!important;max-width:100vw!important;inset:0!important;border-radius:0!important}
}

@media(max-width:420px){
  .owner-panel,.partner-panel,.customer-panel{padding-left:9px!important;padding-right:9px!important}
  :where(.owner-card,.partner-card,.customer-card){padding:13px!important}
  .owner-homepage-panel-item{grid-template-columns:48px minmax(0,1fr) auto!important}
  .owner-homepage-panel-thumb{width:48px!important;height:48px!important}
  .owner-order-timeline,.partner-order-timeline,.customer-order-timeline{grid-template-columns:1fr!important}
}

/* ---------- Legal pages ---------- */
.legal-shell,.legal-layout,.legal-header-inner,.legal-hero-inner{width:min(calc(100% - 28px),1240px)!important;max-width:1240px!important;min-width:0!important}
@media(max-width:780px){
  .legal-header-inner{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important}
  .legal-layout{grid-template-columns:1fr!important;gap:14px!important}
  .legal-toc{position:static!important;max-height:none!important}
  .legal-card{padding:18px 14px!important}
  .legal-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .legal-table{min-width:620px!important}
  .legal-hero{padding:38px 0!important}
  .legal-hero h1{font-size:clamp(30px,10vw,48px)!important}
}

/* ---------- Tiny screens and landscape phones ---------- */
@media(max-width:340px){
  .reference-storefront-v415 .split-login-button{min-width:58px!important;padding:5px!important}
  .reference-storefront-v415 #home .reference-hero-copy h1{font-size:24px!important}
  .reference-storefront-v415 #home .reference-hero-copy>p{font-size:10px!important}
  .reference-storefront-v415 .reference-products-panel .product-grid{grid-template-columns:1fr!important}
}
@media(max-height:540px) and (orientation:landscape){
  .reference-storefront-v415 #home[data-hero-fixed-frame="on"],.reference-storefront-v415 #home{height:430px!important;min-height:430px!important;max-height:430px!important;grid-template-columns:1fr 44%!important;grid-template-rows:1fr!important}
  .reference-storefront-v415 #home .reference-hero-art{grid-column:2!important;grid-row:1!important;height:100%!important}
  .reference-storefront-v415 #home .reference-hero-copy{grid-column:1!important;grid-row:1!important;padding:18px 20px!important}
  .reference-storefront-v415 #home .reference-slider-arrow{top:calc(50% - 18px)!important}
  .owner-modal-card,.partner-order-modal-card,.customer-modal-card,.modal-card{max-height:calc(100dvh - 8px)!important}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

html::after{content:"One.v2.43-responsive-a-to-z";display:none}

/* ---------- One.v2.43: Owner Main Page Settings mobile workspace ---------- */
@media(max-width:820px){
  #panel-homepage .owner-title-row{gap:10px!important}
  #panel-homepage .owner-homepage-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  #panel-homepage .owner-homepage-kpis article{padding:12px!important;min-height:92px!important}

  #panel-homepage .owner-homepage-grid{display:flex!important;flex-direction:column!important;gap:12px!important}
  #panel-homepage .owner-homepage-library{order:1!important;overflow:hidden!important}
  #panel-homepage .owner-homepage-editor-card{order:2!important;scroll-margin-top:12px!important}

  #panel-homepage .owner-homepage-panel-list{
    display:flex!important;
    grid-template-columns:none!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 2px 10px!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:2px!important;
    overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin!important;
  }
  #panel-homepage .owner-homepage-panel-item{
    flex:0 0 min(84vw,340px)!important;
    width:min(84vw,340px)!important;
    min-height:88px!important;
    grid-template-columns:58px minmax(0,1fr) 34px!important;
    gap:9px!important;
    padding:10px!important;
    scroll-snap-align:start!important;
    transform:none!important;
  }
  #panel-homepage .owner-homepage-panel-thumb{width:58px!important;height:58px!important}
  #panel-homepage .owner-homepage-panel-copy strong{font-size:13px!important;line-height:1.25!important}
  #panel-homepage .owner-homepage-panel-copy small{font-size:9px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
  #panel-homepage .owner-homepage-panel-actions{gap:3px!important}
  #panel-homepage .owner-homepage-panel-actions button{width:32px!important;height:25px!important;min-height:25px!important;padding:0!important}

  #panel-homepage .owner-homepage-preview{height:clamp(145px,42vw,205px)!important;min-height:145px!important;max-height:205px!important;margin-bottom:13px!important}
  #panel-homepage .owner-homepage-preview.hero{height:clamp(165px,48vw,220px)!important;min-height:165px!important;max-height:220px!important}
  #panel-homepage .owner-homepage-preview img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}

  #panel-homepage .owner-form-grid.two-col{display:grid!important;grid-template-columns:1fr!important;gap:11px!important}
  #panel-homepage .owner-form-grid.two-col>.span-2{grid-column:auto!important}
  #panel-homepage .owner-homepage-form :is(input,select,textarea){font-size:16px!important;line-height:1.3!important;min-height:46px!important}
  #panel-homepage .owner-homepage-form textarea{min-height:96px!important;resize:vertical!important}
  #panel-homepage .owner-homepage-form input[type="file"]{padding:7px!important;white-space:normal!important;overflow:hidden!important}
  #panel-homepage .owner-homepage-form input[type="file"]::file-selector-button{max-width:48%!important;margin-right:8px!important;padding:9px 10px!important;border:0!important;border-radius:8px!important;background:#087a56!important;color:#fff!important;font-weight:800!important}

  #panel-homepage .owner-homepage-form-actions{
    position:sticky!important;
    bottom:calc(6px + var(--safe-bottom))!important;
    z-index:20!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    margin:15px -4px -4px!important;
    padding:9px!important;
    border:1px solid #d8e4dd!important;
    border-radius:13px!important;
    background:rgba(255,253,247,.97)!important;
    box-shadow:0 10px 28px rgba(6,58,42,.16)!important;
    backdrop-filter:blur(10px)!important;
  }
  #panel-homepage .owner-homepage-form-actions>*{width:100%!important;min-height:44px!important}
  #panel-homepage .owner-homepage-form-actions button[type="submit"]{order:-2!important}
  #panel-homepage .owner-homepage-form-actions .danger{order:3!important}

  #panel-homepage .owner-hero-manager{overflow:hidden!important}
  #panel-homepage .owner-hero-manager>.owner-card-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  #panel-homepage .owner-hero-manager .owner-title-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  #panel-homepage .owner-hero-manager .owner-title-actions>*{width:100%!important;min-width:0!important;padding-inline:8px!important}
  #panel-homepage .owner-hero-global-form{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;align-items:stretch!important;padding:11px!important}
  #panel-homepage .owner-hero-global-form>label,#panel-homepage .owner-hero-global-form>button{width:100%!important;min-width:0!important}
  #panel-homepage .owner-hero-global-form :is(select,button){min-height:44px!important;font-size:14px!important}

  #panel-homepage .owner-slide-layout{display:flex!important;flex-direction:column!important;gap:12px!important}
  #panel-homepage .owner-slide-list{
    display:flex!important;
    flex-direction:row!important;
    gap:10px!important;
    width:100%!important;
    max-height:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 2px 10px!important;
    scroll-snap-type:x mandatory!important;
    overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  #panel-homepage .owner-slide-item{
    flex:0 0 min(84vw,340px)!important;
    width:min(84vw,340px)!important;
    min-height:88px!important;
    grid-template-columns:72px minmax(0,1fr) 32px!important;
    padding:9px!important;
    gap:9px!important;
    scroll-snap-align:start!important;
  }
  #panel-homepage .owner-slide-item img{width:72px!important;height:58px!important}
  #panel-homepage .owner-slide-item strong{font-size:12px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
  #panel-homepage .owner-slide-item small{font-size:9px!important;white-space:normal!important}
  #panel-homepage .owner-slide-order-actions button{width:30px!important;height:27px!important}
  #panel-homepage .owner-slide-editor{scroll-margin-top:12px!important}
  #panel-homepage .owner-slide-editor .owner-check-row{min-height:48px!important}

  #panel-homepage .owner-card-head h2{font-size:clamp(21px,6vw,28px)!important;line-height:1.08!important;overflow-wrap:anywhere!important}
  #panel-homepage .owner-card-head p{font-size:11px!important;line-height:1.45!important}
  #panel-homepage .owner-form-message{overflow-wrap:anywhere!important}
}

@media(max-width:430px){
  #panel-homepage{padding-left:8px!important;padding-right:8px!important}
  #panel-homepage .owner-card{padding:11px!important;border-radius:14px!important}
  #panel-homepage .owner-homepage-kpis{grid-template-columns:1fr 1fr!important}
  #panel-homepage .owner-homepage-panel-item,
  #panel-homepage .owner-slide-item{flex-basis:calc(100vw - 48px)!important;width:calc(100vw - 48px)!important}
  #panel-homepage .owner-homepage-preview{height:150px!important;min-height:150px!important;max-height:150px!important}
  #panel-homepage .owner-homepage-preview.hero{height:178px!important;min-height:178px!important;max-height:178px!important}
  #panel-homepage .owner-hero-manager .owner-title-actions{grid-template-columns:1fr!important}
  #panel-homepage .owner-homepage-form-actions{bottom:calc(3px + var(--safe-bottom))!important}
}

html::after{content:"One.v2.43-responsive-settings-mobile";display:none}
