/* YOREN Store R5.1 — unified cover-free storefront.
   Client and owner surfaces only; preserves store data, permission, cart, filters and API.
   No per-store banner image is requested. */
body.store-premium-r5.store-premium-r51{
 --r51-navy:#152b47;--r51-champagne:#bb8c42;--r51-line:#e5e9ef;
 background:#f8f9fb!important;
}
body.store-premium-r51 > .store-wrap{
 max-width:1320px!important;
 gap:10px!important;
 padding-top:10px!important;
}
body.store-premium-r51 .store-hero.store-premium-hero-r2{
 display:block!important;padding:0!important;
 border:1px solid #e4e8ef!important;
 border-radius:18px!important;
 background:#fff!important;
 box-shadow:0 7px 25px rgba(19,40,63,.075)!important;
 overflow:hidden!important;
}
body.store-premium-r51 .store-r51-brand-stripe{
 box-sizing:border-box;
 width:100%;height:48px;
 display:flex;align-items:center;justify-content:flex-end;
 gap:8px;padding:0 23px;
 background:linear-gradient(115deg,#0e2137 0%,#1d3856 65%,#314e66 100%)!important;
 border-bottom:2px solid rgba(214,174,104,.65);
 color:#e3bc79;
}
body.store-premium-r51 .store-r51-brand-stripe::before{
 content:'';display:block;flex:1;
 height:1px;max-width:85px;background:#d6ae70;opacity:.65;
}
body.store-premium-r51 .store-r51-brand-stripe span{
 font-size:11px;font-weight:820;
 letter-spacing:.16em;text-transform:uppercase;
 white-space:nowrap;
}
body.store-premium-r51 .store-hero .hero-banner{display:none!important}
body.store-premium-r51 .store-hero .hero-row{
 position:relative;z-index:1;
 display:grid!important;
 grid-template-columns:88px minmax(0,1fr) auto!important;
 grid-template-rows:auto!important;
 align-items:center!important;
 gap:18px!important;
 width:100%!important;margin:0!important;
 padding:17px 22px 20px!important;
}
body.store-premium-r51 .store-hero .hero-avatar{
 box-sizing:border-box;
 grid-column:1!important;grid-row:1!important;
 position:relative;
 width:88px!important;height:88px!important;
 margin:0!important;padding:3px!important;
 border:1px solid #e2e7ee!important;
 border-radius:20px!important;
 box-shadow:0 4px 14px rgba(18,44,70,.08)!important;
 background:#fff!important;
}
body.store-premium-r51 .store-hero .hero-avatar img{
 display:block;width:100%!important;height:100%!important;
 border-radius:16px!important;object-fit:cover!important;
 background:#eef2f7!important;
}
body.store-premium-r51 .store-hero .hero-text{
 grid-column:2!important;grid-row:1!important;
 min-width:0!important;width:auto!important;
 align-self:center!important;
 padding:0!important;margin:0!important;
 background:none!important;box-shadow:none!important;
 border:0!important;border-radius:0!important;
}
body.store-premium-r51 .store-premium-title-r2{
 gap:7px!important;align-items:center!important;
 flex-wrap:wrap!important;
}
body.store-premium-r51 .store-premium-title-r2 h1{
 font-size:clamp(20px,2.4vw,28px)!important;
 font-weight:850!important;
 line-height:1.26!important;
 letter-spacing:-.02em!important;color:#182e4a!important;
 min-height:0!important;white-space:normal!important;
}
body.store-premium-r51 .store-r51-store-category{
 margin:5px 0 7px!important;
 color:#738399;font-size:12px!important;font-weight:620;
 line-height:1.45!important;white-space:normal;
}
body.store-premium-r51 .store-premium-trust-r2,
body.store-premium-r51 .store-premium-trust-r4r2{
 display:flex!important;flex-wrap:wrap!important;
 gap:5px 12px!important;min-width:0;
}
body.store-premium-r51 .store-premium-status-line-r4r2,
body.store-premium-r51 .store-premium-info-line-r4r2{
 align-items:center!important;gap:5px!important;
 margin:0!important;
 font-size:11px!important;
}
body.store-premium-r51 .store-hero .store-premium-actions-r2{
 grid-column:3!important;grid-row:1!important;
 display:grid!important;grid-template-columns:repeat(2,minmax(94px,1fr))!important;
 gap:8px!important;
 width:auto!important;max-width:360px!important;
 min-width:0!important;
 margin:0!important;padding:0!important;
 align-self:center!important;
}
body.store-premium-r51 .store-hero .store-premium-actions-r2 > .btn{
 display:flex!important;flex:1 1 auto!important;
 flex-direction:row!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;width:100%!important;min-width:0!important;
 max-width:none!important;min-height:43px!important;height:auto!important;
 padding:9px 12px!important;margin:0!important;
 border:1px solid #e2e8f0!important;border-radius:11px!important;
 background:#fff!important;color:#2c445e!important;
 font-size:11.5px!important;font-weight:790!important;
 text-decoration:none!important;box-shadow:0 3px 8px rgba(23,43,62,.025)!important;
}
body.store-premium-r51 .store-hero .store-premium-actions-r2 > .btn:hover{
 background:#f2f6fa!important;border-color:#bed0e1!important;
}
body.store-premium-r51 .store-hero .store-premium-actions-r2 > .store-premium-owner-action-r4r2{
 min-height:47px!important;background:#193952!important;
 color:#fff!important;border-color:#193952!important;
}
body.store-premium-r51 .store-hero .store-premium-actions-r2 > .store-premium-owner-action-r4r2:nth-child(2){
 background:#faf2e4!important;border-color:#e3cb9f!important;
 color:#815f2b!important;
}
body.store-premium-r51 .store-premium-action-r2__label{
 display:inline!important;position:static!important;
 width:auto!important;height:auto!important;clip:auto!important;
 white-space:normal!important;
 line-height:1.25!important;font-size:inherit!important;
}
body.store-premium-r51 .store-r5-owner-kicker{
 margin:0 0 5px!important;font-size:10px!important;
 background:#fff8e8!important;
}
body.store-premium-r51 .store-r5-search{
 margin:0!important;padding:10px 12px!important;
 border:1px solid #e5e9ef!important;border-radius:13px!important;
 box-shadow:0 4px 14px rgba(23,40,63,.04)!important;
}
body.store-premium-r51 .store-r5-search-field{background:#f9fafc!important}
body.store-premium-r51 .store-r51-category-row{
 display:flex;align-items:center;
 gap:7px;min-width:0;
 overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
 padding:5px 0 8px!important;margin:0!important;
 scroll-padding-inline:10px;
}
body.store-premium-r51 .store-r51-category-row .catbar{
 display:flex;flex:0 0 auto;align-items:center;
 gap:7px;min-width:0;max-width:none;
 padding:0!important;margin:0!important;
 background:transparent!important;border:0!important;
 overflow:visible!important;
}
body.store-premium-r51 .store-r51-category-row .cat-chip,
body.store-premium-r51 .store-r51-category-link{
 box-sizing:border-box;
 display:inline-flex!important;align-items:center;justify-content:center;
 flex:0 0 auto!important;white-space:nowrap;
 min-height:36px!important;padding:7px 13px!important;margin:0!important;
 border-radius:30px!important;border:1px solid #dfe5ed!important;
 background:#fff!important;color:#516178!important;
 font:inherit;font-size:11.5px!important;font-weight:740!important;
 text-decoration:none!important;
}
body.store-premium-r51 .store-r51-category-row .cat-chip.active{
 color:#fff!important;background:#bd944e!important;
 border-color:#bd944e!important;box-shadow:0 3px 7px rgba(189,148,78,.15);
}
body.store-premium-r51 .store-r51-category-link:hover,
body.store-premium-r51 .store-r51-category-row .cat-chip:hover{
 border-color:#caa66b!important;background:#fff9ef!important;color:#79582b!important;
}
body.store-premium-r51 .store-r51-category-row .cat-chip.active:hover{color:#fff!important;background:#b5873f!important}
body.store-premium-r51 .store-r51-category-row .cat-count{font-size:10px;margin-left:3px;opacity:.75}
body.store-premium-r51 .store-catalog-controls-r4{padding:6px 10px!important}
body.store-premium-r51 .store-catalog-controls-r4 .store-filter-toggle-r4{
 display:none!important;
}
body.store-premium-r51 .store-r51-all-heading{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 margin:6px 0 10px!important;padding:0 2px!important;
}
body.store-premium-r51 .store-r51-all-heading h2{
 font-size:19px;font-weight:830;color:#152c46;
 margin:0!important;line-height:1.2;
}
body.store-premium-r51 .featured-products-section-r1,
body.store-premium-r51 .bestseller-products-section-r3{
 background:#fff!important;border-radius:13px!important;
 padding:12px!important;margin-bottom:9px!important;
}
body.store-premium-r51 #product-grid[data-view="grid"]{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:13px!important;
}
body.store-premium-r51 #featured-product-grid-r1,
body.store-premium-r51 #bestseller-product-grid-r3{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:13px!important;
}
body.store-premium-r51 .product-card img,
body.store-premium-r51 .store-card-v10 img.thumb{
 object-fit:contain!important;
}
@media(max-width:1020px){
 body.store-premium-r51 .store-hero .hero-row{
  grid-template-columns:75px minmax(0,1fr) minmax(180px,auto)!important;
  gap:11px!important;padding:14px 16px!important;
 }
 body.store-premium-r51 .store-hero .hero-avatar{width:75px!important;height:75px!important}
 body.store-premium-r51 .store-hero .store-premium-actions-r2{grid-template-columns:repeat(2,minmax(80px,1fr))!important}
 body.store-premium-r51 #product-grid[data-view="grid"],
 body.store-premium-r51 #featured-product-grid-r1,
 body.store-premium-r51 #bestseller-product-grid-r3{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:760px){
 body.store-premium-r51 > .store-wrap{padding:8px 10px calc(var(--lk-bottom-nav-content-reserve,80px) + 36px)!important;gap:8px!important}
 body.store-premium-r51 .store-hero.store-premium-hero-r2{
  padding:0!important;border-radius:13px!important;
 }
 body.store-premium-r51 .store-r51-brand-stripe{
  height:30px;padding:0 12px;
 }
 body.store-premium-r51 .store-r51-brand-stripe span{
  font-size:9px;letter-spacing:.12em;
 }
 body.store-premium-r51 .store-hero .hero-row{
  grid-template-columns:65px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:8px 10px!important;
  margin:0!important;padding:11px 12px 13px!important;
  align-items:center!important;
 }
 body.store-premium-r51 .store-hero .hero-avatar{
  grid-column:1!important;grid-row:1!important;
  width:65px!important;height:65px!important;
  padding:2px!important;border-radius:15px!important;
  border:1px solid #e5e9ef!important;
 }
 body.store-premium-r51 .store-hero .hero-avatar img{border-radius:12px!important}
 body.store-premium-r51 .store-hero .hero-text{
  grid-column:2!important;grid-row:1!important;
  padding:0!important;align-self:center!important;
 }
 body.store-premium-r51 .store-premium-title-r2 h1{font-size:17px!important}
 body.store-premium-r51 .store-r51-store-category{
  font-size:10.5px!important;margin:2px 0 4px!important;
 }
 body.store-premium-r51 .store-premium-title-r2 .store-vip-badge{font-size:9px!important}
 body.store-premium-r51 .store-premium-trust-r2,
 body.store-premium-r51 .store-premium-trust-r4r2{gap:3px 8px!important}
 body.store-premium-r51 .store-premium-status-line-r4r2,
 body.store-premium-r51 .store-premium-info-line-r4r2{font-size:10px!important}
 body.store-premium-r51 .store-hero .store-premium-actions-r2{
  grid-column:1/-1!important;grid-row:2!important;
  width:100%!important;max-width:none!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
 }
 body.store-premium-r51 .store-hero .store-premium-actions-r2 > .btn{
  flex-direction:column!important;
  min-height:50px!important;gap:3px!important;
  padding:7px 3px!important;
  font-size:10px!important;line-height:1.2!important;
 }
 body.store-premium-r51 .store-hero .store-premium-actions-r2 > .store-premium-owner-action-r4r2{
  min-height:50px!important;
 }
 body.store-premium-r51 .store-r5-search{padding:8px!important}
 body.store-premium-r51 .store-r51-category-row{margin:0!important;padding:4px 0 7px!important;gap:5px!important}
 body.store-premium-r51 .store-r51-category-row .catbar{gap:5px!important}
 body.store-premium-r51 .store-r51-category-row .cat-chip,
 body.store-premium-r51 .store-r51-category-link{
  min-height:34px!important;padding:6px 11px!important;
  font-size:10.5px!important;
 }
 body.store-premium-r51 .store-r51-all-heading h2{font-size:16px!important}
 body.store-premium-r51 #product-grid[data-view="grid"],
 body.store-premium-r51 #featured-product-grid-r1,
 body.store-premium-r51 #bestseller-product-grid-r3{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
 }
}
@media(min-width:560px) and (max-width:760px){
 body.store-premium-r51 #product-grid[data-view="grid"],
 body.store-premium-r51 #featured-product-grid-r1,
 body.store-premium-r51 #bestseller-product-grid-r3{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:350px){
 body.store-premium-r51 .store-hero .store-premium-actions-r2{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}

/* R5.1 loading: neutral skeleton previews, never fictitious product data. */
body.store-premium-r51 .store-r51-skeleton-grid{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
 gap:13px;margin:0 0 8px;
}
body.store-premium-r51 .store-r51-skeleton-grid[hidden],
body.store-premium-r51 .store-r51-category-link[hidden]{
 display:none!important;
}
body.store-premium-r51 .store-r51-skeleton-card{
 min-width:0;overflow:hidden;
 border:1px solid #e4e9ee;border-radius:12px;
 background:#fff;padding:0 0 12px;
}
body.store-premium-r51 .store-r51-skeleton-media{
 width:100%;aspect-ratio:1/1;
 background:linear-gradient(95deg,#f4f6f9 12%,#e8edf3 28%,#f4f6f9 44%);
 background-size:220% 100%;animation:storeR51Skeleton 1.6s linear infinite;
}
body.store-premium-r51 .store-r51-skeleton-line{
 height:10px;border-radius:5px;background:#edf1f5;
 margin:11px 11px 0;width:75%;
}
body.store-premium-r51 .store-r51-skeleton-line.short{
 margin-top:9px;width:40%;height:13px;
}
body.store-premium-r51 #grid-loading.loading{
 min-height:65px!important;margin-top:3px!important;
 padding:9px!important;
 animation:none!important;background:#f7f9fb!important;
}
body.store-premium-r51 #grid-loading.loading::after{
 margin:5px 0 0!important;font-size:10.5px!important;
}
@keyframes storeR51Skeleton{to{background-position:-220% 0}}
@media(max-width:1020px){
 body.store-premium-r51 .store-r51-skeleton-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 body.store-premium-r51 .store-r51-skeleton-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
 }
 body.store-premium-r51 .store-r51-skeleton-card{border-radius:10px;padding-bottom:10px}
}
@media(min-width:560px) and (max-width:760px){
 body.store-premium-r51 .store-r51-skeleton-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
 body.store-premium-r51 .store-r51-skeleton-media{animation:none!important}
}
