/* v67 stable UI fixes on top of v62 */

#cart-float.cart-float{
  top:34vh !important;
  right:18px !important;
  bottom:auto !important;
  width:56px !important;
  height:56px !important;
  border-radius:999px !important;
  z-index:1200 !important;
}
body.cart-open #cart-float.cart-float{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
@media (max-width:640px){
  #cart-float.cart-float{
    top:40vh !important;
    right:12px !important;
    width:52px !important;
    height:52px !important;
  }
}

body[data-page="home"] #popular-products,
body[data-page="home"] .home-articles-grid,
body[data-page="catalog"] #product-grid,
#similar-grid{
  content-visibility:auto;
  contain-intrinsic-size:560px;
}

.header-search-row .container{display:block !important;}
.header-search.header-search-wide{width:100% !important;max-width:none !important;}
.header-search.header-search-wide .header-search-field{width:100%;}
.header-search.header-search-wide input{width:100%;}

.section-actions{
  display:flex;
  margin-top:16px;
}
.section-actions--center{justify-content:center;}
.section-actions .btn{justify-content:center;}

body[data-page="home"] .section.section-advantages{
  padding:20px 0 10px;
}
body[data-page="home"] .advantages-box{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(17,24,39,.10);
  background:linear-gradient(135deg, #f7fbff 0%, #ffffff 52%, #faf6f6 100%);
  border-radius:30px;
  padding:18px;
  box-shadow:0 16px 42px rgba(15,23,42,.08);
}
body[data-page="home"] .advantages-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 200px at 0% 0%, rgba(59,130,246,.10) 0%, rgba(59,130,246,0) 58%),
    radial-gradient(420px 180px at 100% 100%, rgba(227,30,36,.08) 0%, rgba(227,30,36,0) 62%);
  pointer-events:none;
}
body[data-page="home"] .advantages-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}
body[data-page="home"] .adv-card{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
  padding:14px;
  border-radius:20px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(17,24,39,.08);
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
body[data-page="home"] .adv-ic{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(227,30,36,.08);
  border:1px solid rgba(227,30,36,.14);
}
body[data-page="home"] .adv-ic img{
  width:22px;
  height:22px;
  display:block;
  opacity:.9;
}
body[data-page="home"] .adv-text{min-width:0;}
body[data-page="home"] .adv-t{
  font-weight:900;
  font-size:16px;
  line-height:1.18;
}
body[data-page="home"] .adv-d{
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
@media (max-width:1024px){
  body[data-page="home"] .advantages-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (max-width:640px){
  body[data-page="home"] .advantages-box{padding:14px;border-radius:24px;}
  body[data-page="home"] .advantages-grid{grid-template-columns:1fr;gap:10px;}
  body[data-page="home"] .adv-card{padding:12px;}
}

body[data-page="home"] .home-products-carousel{
  position:relative;
  padding:0 !important;
}
body[data-page="home"] .home-products-viewport{
  padding:6px 0 10px !important;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
body[data-page="home"] .home-products-viewport::-webkit-scrollbar{display:none;}
body[data-page="home"] #popular-products.home-products-track{
  display:flex;
  flex-wrap:nowrap;
  gap:12px !important;
  align-items:stretch;
}
body[data-page="home"] #popular-products.home-products-track > .card.product-card{
  flex:0 0 calc((100% - 60px) / 6) !important;
}
body[data-page="home"] .home-products-carousel .carousel-arrow{
  top:34% !important;
  transform:translateY(-50%);
  z-index:4;
  background:rgba(255,255,255,.96);
  box-shadow:0 12px 28px rgba(15,23,42,.14);
}
body[data-page="home"] .home-products-carousel .carousel-arrow.left{left:10px !important;}
body[data-page="home"] .home-products-carousel .carousel-arrow.right{right:10px !important;}
@media (max-width:1200px){
  body[data-page="home"] #popular-products.home-products-track > .card.product-card{
    flex-basis:calc((100% - 36px) / 4) !important;
  }
}
@media (max-width:780px){
  body[data-page="home"] #popular-products.home-products-track > .card.product-card{
    flex-basis:calc((100% - 12px) / 2) !important;
  }
}
@media (max-width:460px){
  body[data-page="home"] #popular-products.home-products-track > .card.product-card{
    flex-basis:86% !important;
  }
}

body[data-page="catalog"] .catalog-grid,
#similar-grid.grid{grid-auto-rows:1fr;}
.card.product-card{
  position:relative !important;
  display:flex !important;
  flex-direction:column;
  height:100%;
  transform:translateZ(0) !important;
  filter:none !important;
  backface-visibility:hidden;
}
.card.product-card .media{
  aspect-ratio:1/1 !important;
  position:relative;
  background:#fff;
}
.card.product-card .media img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  background:#fff;
  padding:14px;
}
.card.product-card .body{
  display:flex;
  flex-direction:column;
  flex:1;
  gap:10px !important;
  padding:12px !important;
}
.card.product-card .product-title{
  order:1;
  display:-webkit-box !important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3 !important;
  white-space:normal !important;
  overflow:hidden !important;
  text-overflow:ellipsis;
  min-height:calc(3 * 1.35em) !important;
  max-height:calc(3 * 1.35em) !important;
  line-height:1.35 !important;
  font-size:14px;
  margin:0;
}
.card.product-card .product-meta{
  order:2;
  min-height:26px;
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.card.product-card .product-bottom{
  order:3;
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.card.product-card .price{order:1;font-size:16px;}
.card.product-card .product-actions{
  order:2;
  display:grid !important;
  grid-template-columns:1fr;
  gap:0;
  position:static !important;
}
.card.product-card .product-pill.brand,
.card.product-card .product-pill.sku,
.card.product-card .product-ids,
.card.product-card .product-info .brand,
.card.product-card .product-info .sku{display:none !important;}
.card.product-card .product-actions [data-buy-now]{display:none !important;}
.card.product-card .product-cart-btn{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
}
.card.product-card .product-cart-btn__main{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.card.product-card .product-cart-btn__icon{
  width:16px;
  height:16px;
  flex:0 0 16px;
  display:inline-block;
  background:currentColor;
  -webkit-mask:url('/assets/icons/cart.svg') center / contain no-repeat;
  mask:url('/assets/icons/cart.svg') center / contain no-repeat;
}
.card.product-card .product-cart-btn__label{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.card.product-card .product-cart-btn__count{
  min-width:24px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  font-size:12px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.card.product-card .product-cart-btn__count[hidden]{display:none;}
.card.product-card .product-cart-btn.is-in-cart{
  box-shadow:0 10px 20px rgba(227,30,36,.22);
}
.card.product-card .product-cart-btn.is-in-cart .product-cart-btn__count{
  background:#fff;
  color:var(--accent);
  border-color:rgba(255,255,255,.6);
}
.card.product-card > .icon-btn{
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  width:36px;
  height:36px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(15,23,42,.12);
  box-shadow:0 6px 18px rgba(15,23,42,.10);
  display:grid;
  place-items:center;
  padding:0;
  color:#111827;
  z-index:5;
}
.card.product-card > .icon-btn .heart-icon{
  width:18px;
  height:18px;
  display:block;
  background:currentColor;
  -webkit-mask:url('/assets/icons/heart.svg') center / contain no-repeat;
  mask:url('/assets/icons/heart.svg') center / contain no-repeat;
}
.card.product-card > .icon-btn img{display:none !important;}
.card.product-card > .icon-btn[aria-pressed="true"],
.card.product-card > .icon-btn.is-active{
  color:var(--accent);
  background:rgba(227,30,36,.08);
  border-color:rgba(227,30,36,.28);
  box-shadow:0 8px 22px rgba(227,30,36,.18);
}
.card.product-card:hover,
.card.product-card:focus-within{
  transform:translateY(-2px) !important;
  box-shadow:0 18px 38px rgba(15,23,42,.08) !important;
}
.card.product-card:hover *,
.card.product-card:focus-within *{
  filter:none !important;
}
@media (max-width:640px){
  .card.product-card .body{padding:10px !important;}
  .card.product-card .product-title{
    font-size:13px;
    min-height:calc(3 * 1.32em) !important;
    max-height:calc(3 * 1.32em) !important;
  }
  .card.product-card .product-cart-btn{min-height:40px;padding:9px 10px;}
  .card.product-card > .icon-btn{width:32px;height:32px;top:8px !important;right:8px !important;}
  .card.product-card > .icon-btn .heart-icon{width:16px;height:16px;}
}

body[data-page="home"] .home-articles-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}
body[data-page="home"] .home-articles-grid .article-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(17,24,39,.08);
  box-shadow:0 10px 28px rgba(15,23,42,.06);
  transition:transform .24s ease, box-shadow .24s ease, opacity .24s ease;
  opacity:.94;
}
body[data-page="home"] .home-articles-grid .article-card .media{
  aspect-ratio:16/10;
  background:#f3f4f6;
}
body[data-page="home"] .home-articles-grid .article-card .media img{object-fit:cover;}
body[data-page="home"] .home-articles-grid .article-card .body{
  display:flex;
  flex-direction:column;
  flex:1;
  gap:10px;
  padding:14px;
}
body[data-page="home"] .home-articles-grid .article-card .title{
  min-height:calc(3 * 1.28em);
  max-height:calc(3 * 1.28em);
  line-height:1.28;
  overflow:hidden;
}
body[data-page="home"] .home-articles-grid .article-card .actions{margin-top:auto;}
body[data-page="home"] .home-articles-grid .article-card .btn{opacity:.84;}
body[data-page="home"] .section.section-articles .section-actions{justify-content:center;}
@media (hover:hover) and (pointer:fine){
  body[data-page="home"] .home-articles-grid .article-card:hover{
    transform:translateY(-6px) scale(1.02);
    opacity:1;
    box-shadow:0 22px 40px rgba(15,23,42,.12);
  }
  body[data-page="home"] .home-articles-grid .article-card:hover .btn{opacity:1;}
}
@media (max-width:1024px){
  body[data-page="home"] .home-articles-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (max-width:640px){
  body[data-page="home"] .home-articles-grid{grid-template-columns:1fr;}
}

body[data-page="home"] #brands-marquee .brands-carousel{position:relative;overflow:hidden;}
body[data-page="home"] #brands-marquee .brands-viewport{overflow:hidden;padding:4px 0;}
body[data-page="home"] #brands-marquee .brands-track{
  display:flex !important;
  width:max-content;
  gap:0 !important;
  animation:none !important;
  transform:translate3d(var(--brands-offset,0px),0,0) !important;
  will-change:transform;
}
body[data-page="home"] #brands-marquee .brands-group{
  display:flex;
  gap:16px;
  padding-right:16px;
  flex:0 0 auto;
}
body[data-page="home"] #brands-marquee .brand-chip{
  width:180px !important;
  min-width:180px !important;
  max-width:180px !important;
  height:88px !important;
  padding:0 !important;
  overflow:hidden;
  border-radius:18px;
  background:#f5f5f5;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}
body[data-page="home"] #brands-marquee .brand-chip img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center;
  transform:scale(1.06);
  display:block;
}
@media (max-width:640px){
  body[data-page="home"] #brands-marquee .brands-group{gap:12px;padding-right:12px;}
  body[data-page="home"] #brands-marquee .brand-chip{
    width:152px !important;
    min-width:152px !important;
    max-width:152px !important;
    height:74px !important;
  }
}

body[data-page="catalog"] .catalog-search-row{
  display:flex;
  gap:12px;
  align-items:stretch;
  margin-top:14px;
  margin-bottom:18px;
}
body[data-page="catalog"] .catalog-search-card{
  flex:1 1 auto;
  min-width:0;
}
body[data-page="catalog"] .catalog-search-card .body{padding:12px;}
body[data-page="catalog"] .catalog-search-bar{
  display:flex;
  gap:12px;
  align-items:flex-end;
}
body[data-page="catalog"] .catalog-search-bar .field{
  min-width:0;
  flex:1;
}
body[data-page="catalog"] .catalog-search-bar .btn{
  flex:0 0 138px;
  height:44px;
  justify-content:center;
}
body[data-page="catalog"] .catalog-filter-toggle{
  display:inline-flex !important;
  flex:0 0 auto;
  align-self:stretch;
  white-space:nowrap;
}
body[data-page="catalog"] .catalog-filter-toggle img{width:18px;height:18px;}
body[data-page="catalog"] .catalog-layout{
  grid-template-columns:1fr !important;
  gap:0 !important;
}
body[data-page="catalog"] .catalog-content{min-width:0;}
body[data-page="catalog"] .catalog-sidebar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
body[data-page="catalog"] .catalog-sidebar-head .title{margin:0;font-weight:900;}
body[data-page="catalog"] .catalog-sidebar{
  position:fixed !important;
  top:0;
  left:0;
  bottom:0;
  width:min(380px, 92vw) !important;
  max-width:92vw;
  z-index:1350;
  padding:16px 12px 20px;
  transform:translateX(-105%);
  transition:transform .28s ease;
  background:transparent;
  overflow:auto;
}
body[data-page="catalog"] .catalog-sidebar .card{overflow:visible;min-height:calc(100vh - 36px);border-radius:24px;box-shadow:0 20px 46px rgba(15,23,42,.18);}
body[data-page="catalog"] .catalog-sidebar .card .body{padding:14px;}
body[data-page="catalog"] .catalog-sidebar .body > .title{display:none;}
body[data-page="catalog"] .catalog-sidebar .toolbar{
  padding:0 !important;
  border:none;
  background:transparent;
}
body[data-page="catalog"] .catalog-sidebar .filter-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}
body[data-page="catalog"] .catalog-sidebar .filter-actions .btn{
  width:100%;
  justify-content:center;
}
#catalog-filters-backdrop[hidden]{display:none;}
html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{transform:translateX(0);}
html.catalog-filters-open{overflow:hidden;}
body[data-page="catalog"] #catalog-filters-backdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.44);
  backdrop-filter:blur(2px);
  z-index:1340;
  opacity:0;
  transition:opacity .28s ease;
}
html.catalog-filters-open body[data-page="catalog"] #catalog-filters-backdrop{opacity:1;}
@media (max-width:720px){
  body[data-page="catalog"] .catalog-search-row{flex-direction:column;}
  body[data-page="catalog"] .catalog-search-bar{flex-direction:column;align-items:stretch;}
  body[data-page="catalog"] .catalog-search-bar .btn{width:100%;flex:1 1 auto;}
  body[data-page="catalog"] .catalog-filter-toggle{width:100%;justify-content:center;}
}

#similar-grid.grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}
@media (max-width:960px){
  #similar-grid.grid{
    display:flex;
    overflow:auto;
    gap:16px;
    scroll-snap-type:x proximity;
    padding-bottom:6px;
  }
  #similar-grid.grid > .card{
    min-width:280px;
    flex:0 0 280px;
    scroll-snap-align:start;
  }
}

body[data-page="checkout"] #banner-zone-checkout_sidebar{display:none !important;}

/* v64 UI polish and form/cart improvements */

.field-error{
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  margin-top:6px;
}
.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid{
  border-color:rgba(227,30,36,.55) !important;
  box-shadow:0 0 0 3px rgba(227,30,36,.12) !important;
  background:rgba(255,247,247,.92);
}
.check.is-invalid{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(227,30,36,.26);
  background:rgba(255,247,247,.9);
}
.check.is-invalid input{accent-color:var(--accent);}

.card.product-card .body{
  gap:12px !important;
}
.card.product-card .product-title{
  font-size:15px;
  line-height:1.32 !important;
  min-height:calc(3 * 1.32em) !important;
  max-height:calc(3 * 1.32em) !important;
  font-weight:700 !important;
  letter-spacing:-.01em;
}
.card.product-card .price{
  font-size:17px;
}
.card.product-card .product-actions{
  display:block !important;
}
.card.product-card .product-cart-widget{
  width:100%;
}
.card.product-card .product-cart-btn--add[hidden]{display:none !important;}
.card.product-card .product-cart-controls{
  width:100%;
  min-height:46px;
  display:grid;
  grid-template-columns:42px 1fr 42px 44px;
  align-items:center;
  background:linear-gradient(180deg, #f5232c, #e31e24);
  color:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 12px 24px rgba(227,30,36,.22);
}
.card.product-card .product-cart-controls[hidden]{display:none !important;}
.card.product-card .product-cart-control{
  min-height:46px;
  border:none;
  background:transparent;
  color:inherit;
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease, opacity .18s ease, transform .18s ease;
}
.card.product-card .product-cart-control:hover{background:rgba(255,255,255,.12);}
.card.product-card .product-cart-control:active{transform:scale(.98);}
.card.product-card .product-cart-control:disabled{
  opacity:.45;
  cursor:not-allowed;
  background:transparent;
}
.card.product-card .product-cart-control__count{
  min-width:0;
  text-align:center;
  font-size:15px;
  font-weight:900;
  letter-spacing:.02em;
  font-variant-numeric:tabular-nums;
  padding:0 10px;
}
.card.product-card .product-cart-control--remove{
  border-left:1px solid rgba(255,255,255,.18);
}
.card.product-card .product-cart-control__trash{
  width:16px;
  height:16px;
  display:block;
  background:currentColor;
  -webkit-mask:url('/assets/icons/trash.svg') center / contain no-repeat;
  mask:url('/assets/icons/trash.svg') center / contain no-repeat;
}
@media (max-width:640px){
  .card.product-card .product-title{
    font-size:14px;
    min-height:calc(3 * 1.28em) !important;
    max-height:calc(3 * 1.28em) !important;
  }
  .card.product-card .product-cart-controls{
    min-height:42px;
    grid-template-columns:38px 1fr 38px 40px;
  }
  .card.product-card .product-cart-control{min-height:42px;font-size:20px;}
  .card.product-card .product-cart-control__count{font-size:14px;}
}

body[data-page="catalog"] main .container{max-width:1480px;}
body[data-page="catalog"] .catalog-grid{
  grid-template-columns:repeat(6, minmax(0, 1fr)) !important;
  gap:12px !important;
}
@media (max-width:1199px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(5, minmax(0, 1fr)) !important;}
}
@media (max-width:980px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(4, minmax(0, 1fr)) !important;}
}
@media (max-width:780px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(3, minmax(0, 1fr)) !important;}
}
@media (max-width:640px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;gap:10px !important;}
}

.suggest-panel{
  display:flex;
  flex-direction:column;
}
.suggest-panel__list{min-height:0;}
.suggest-panel__footer{
  padding:12px;
  border-top:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.98);
}
.suggest-results-btn{
  width:100%;
  justify-content:center;
}

body[data-page="account"] #auth-block{
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}
body[data-page="account"] #phone-auth-panel{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(227,30,36,.10);
  box-shadow:0 24px 60px rgba(15,23,42,.08);
}
body[data-page="account"] #phone-auth-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right, rgba(227,30,36,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.96));
  pointer-events:none;
}
body[data-page="account"] #phone-auth-panel .body{
  position:relative;
  z-index:1;
  padding:26px;
}
body[data-page="account"] #phone-auth-title{
  font-size:30px;
  line-height:1.06;
}
body[data-page="account"] #phone-auth-sub,
body[data-page="account"] #authHint{
  color:var(--muted);
  font-size:14px !important;
  line-height:1.5;
}
body[data-page="account"] #phone-auth-form .field label{
  font-weight:800;
}
body[data-page="account"] #phone-auth-form input{
  height:50px;
  border-radius:16px;
  font-size:16px;
}
body[data-page="account"] #authCode{
  text-align:center;
  font-size:28px !important;
  letter-spacing:.28em;
  font-weight:800;
}
body[data-page="account"] .auth-actions{
  gap:12px;
}
body[data-page="account"] .auth-actions .btn{
  min-height:48px;
  border-radius:16px;
  font-size:16px;
}
body[data-page="account"] .auth-back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  color:var(--muted);
  font-weight:700;
}
body[data-page="account"] .auth-back-link:hover{color:var(--text);}
body[data-page="account"] .auth-status{
  margin-top:12px;
  padding:11px 13px;
  border-radius:14px;
  font-size:13px;
  line-height:1.45;
}
body[data-page="account"] .auth-status.is-info{
  background:rgba(15,23,42,.05);
  color:var(--text);
}
body[data-page="account"] .auth-status.is-success{
  background:rgba(22,163,74,.10);
  color:#166534;
}
body[data-page="account"] .auth-status.is-error{
  background:rgba(227,30,36,.08);
  color:var(--accent);
}
body[data-page="account"] .auth-resend-link{
  color:var(--accent);
  font-weight:700;
}
body[data-page="account"] .auth-timer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
@media (max-width:640px){
  body[data-page="account"] #phone-auth-panel .body{padding:20px;}
  body[data-page="account"] #phone-auth-title{font-size:24px;}
  body[data-page="account"] #phone-auth-form input{height:46px;font-size:15px;}
  body[data-page="account"] #authCode{font-size:24px !important;}
}

.footer .payments{display:none !important;}

/* v67 usability, media and auth refinements */

.field-error{
  display:block;
  min-height:18px;
  line-height:1.35;
}
.required-mark{color:var(--accent);font-weight:900;}

.reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .45s ease, transform .45s ease;
}
.reveal.in{opacity:1;transform:none;}
body{transition:opacity .24s ease, transform .24s ease;}

.suggest-panel__footer{
  position:sticky;
  bottom:0;
  z-index:2;
  box-shadow:0 -8px 18px rgba(15,23,42,.04);
}

body[data-page="product"] .similar-carousel .carousel-arrow{
  display:none !important;
}

.zs-video-shell{
  background:linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,41,59,.86));
}
.zs-video-shell.is-fallback::after{
  content:"Видео загружается";
  position:absolute;
  inset:auto 18px 18px auto;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}
.zs-video{
  transition:opacity .24s ease;
}
.zs-video-shell.loading .zs-video{opacity:.78;}
.zs-video-shell.loaded .zs-video{opacity:1;}

body[data-page="account"] .auth-stage[hidden]{display:none !important;}
body[data-page="account"] .auth-actions{
  display:flex;
  flex-direction:column;
}
body[data-page="account"] .auth-actions .btn{
  width:100%;
  justify-content:center;
}
body[data-page="account"] .auth-phone-preview{
  margin:0 0 12px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(15,23,42,.04);
  color:var(--text);
  font-size:14px;
  font-weight:700;
}
body[data-page="account"] #phone-auth-title,
body[data-page="account"] #phone-auth-title-code{
  font-size:28px;
  line-height:1.06;
}
body[data-page="account"] #authCode{
  text-align:center;
  letter-spacing:.34em;
}

body[data-page="service"] [data-carousel="service-gallery"]{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-viewport{
  padding:0 18px 12px !important;
  gap:14px;
}
body[data-page="service"] .service-gallery-item{
  appearance:none;
  border:none;
  padding:0;
  background:transparent;
  cursor:pointer;
}
body[data-page="service"] .service-gallery-item .media{
  background:linear-gradient(180deg, #f8fafc, #eef2f7);
  display:block;
}
body[data-page="service"] .service-gallery-item .media img{
  object-fit:contain !important;
  padding:10px;
  background:transparent;
  transition:transform .24s ease;
}
body[data-page="service"] .service-gallery-item:hover .media img{
  transform:scale(1.02);
}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow{
  z-index:4;
  background:rgba(255,255,255,.96);
  box-shadow:0 12px 24px rgba(15,23,42,.12);
}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow.left{left:10px;}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow.right{right:10px;}

.service-gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:1600;
}
.service-gallery-lightbox[hidden]{display:none !important;}
.service-gallery-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,7,18,.78);
  backdrop-filter:blur(4px);
}
.service-gallery-lightbox__dialog{
  position:relative;
  z-index:1;
  width:min(1120px, calc(100vw - 32px));
  margin:24px auto;
  background:#fff;
  border-radius:24px;
  box-shadow:0 30px 70px rgba(15,23,42,.28);
  padding:18px;
}
.service-gallery-lightbox__close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border:none;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.service-gallery-lightbox__stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:min(72vh, 760px);
  padding:12px 52px;
}
.service-gallery-lightbox__image{
  max-width:100%;
  max-height:68vh;
  object-fit:contain;
}
.service-gallery-lightbox__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border:none;
  border-radius:999px;
  background:#fff;
  box-shadow:0 12px 24px rgba(15,23,42,.14);
  font-size:32px;
  line-height:1;
  cursor:pointer;
}
.service-gallery-lightbox__arrow--prev{left:8px;}
.service-gallery-lightbox__arrow--next{right:8px;}
.service-gallery-lightbox__thumbs{
  display:flex;
  gap:10px;
  overflow:auto;
  padding-top:8px;
}
.service-lightbox-thumb{
  flex:0 0 96px;
  height:72px;
  border-radius:14px;
  overflow:hidden;
  border:2px solid transparent;
  background:#f8fafc;
  cursor:pointer;
  padding:0;
}
.service-lightbox-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.service-lightbox-thumb.is-active{border-color:var(--accent);}
html.service-lightbox-open{overflow:hidden;}

@media (max-width: 768px){
  body[data-page="account"] #phone-auth-title,
  body[data-page="account"] #phone-auth-title-code{font-size:24px;}
  body[data-page="service"] [data-carousel="service-gallery"] .carousel-viewport{padding:0 8px 12px !important;}
  .service-gallery-lightbox__dialog{width:min(100vw - 16px, 100%);margin:8px auto;padding:14px;border-radius:18px;}
  .service-gallery-lightbox__stage{min-height:56vh;padding:8px 40px;}
  .service-gallery-lightbox__thumbs{gap:8px;}
  .service-lightbox-thumb{flex-basis:78px;height:62px;}
  .service-gallery-lightbox__arrow{width:42px;height:42px;font-size:28px;}
}
.card.product-card .product-title{
  font-size:15.5px;
  font-weight:600 !important;
}

.footer-admin-link-row{
  display:flex;
  justify-content:center;
  padding-top:16px;
}
.footer-admin-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:var(--text,#0f172a);
  text-decoration:none;
  font-weight:700;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.footer-admin-link:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(15,23,42,.12);
}

.account-profile-kv{
  margin:0 0 8px;
}
.account-orders-list{
  display:grid;
  gap:12px;
}
.account-order-card{
  border:1px solid rgba(15,23,42,.08);
  border-radius:20px;
  padding:16px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.account-order-card.is-pending{
  border-color:rgba(234,179,8,.35);
  background:rgba(255,251,235,.65);
}
.account-order-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.account-order-card__id{
  font-size:17px;
  font-weight:800;
  color:var(--text,#0f172a);
}
.account-order-card__meta{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  color:rgba(15,23,42,.68);
  font-size:13px;
}
.account-order-card__sum{
  white-space:nowrap;
  font-size:18px;
  font-weight:800;
}
.account-order-card__actions{
  margin-top:14px;
  display:flex;
  justify-content:flex-start;
}
.account-doc-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.account-doc-row:last-child{
  border-bottom:none;
}

.account-order-modal{
  position:fixed;
  inset:0;
  z-index:1600;
}
.account-order-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.46);
  backdrop-filter:blur(6px);
}
.account-order-modal__dialog{
  position:relative;
  width:min(920px, calc(100vw - 24px));
  max-height:min(88vh, 980px);
  margin:6vh auto;
  border-radius:24px;
  background:#fff;
  box-shadow:0 28px 72px rgba(15,23,42,.24);
  overflow:hidden;
}
.account-order-modal__close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.account-order-modal__content{
  padding:24px;
  overflow:auto;
  max-height:min(88vh, 980px);
}
.account-order-modal__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-right:48px;
}
.account-order-modal__section{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(15,23,42,.08);
}
.account-order-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(15,23,42,.06);
}
.account-order-item:last-of-type{
  border-bottom:none;
}
.account-order-item__meta{
  color:rgba(15,23,42,.68);
  font-size:13px;
}
.account-order-kv{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
  border-bottom:1px dashed rgba(15,23,42,.08);
}
.account-order-kv:last-child{
  border-bottom:none;
}
.account-order-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  background:#f8fafc;
  color:rgba(15,23,42,.82);
}
.account-order-history{
  display:grid;
  gap:10px;
}
.account-order-history__row{
  padding:12px 14px;
  border-radius:16px;
  background:#f8fafc;
}
html.account-order-modal-open{
  overflow:hidden;
}
.pill.warn{
  background:rgba(234,179,8,.14);
  color:#854d0e;
  border:1px solid rgba(234,179,8,.32);
}

@media (max-width: 768px){
  .account-order-card__head,
  .account-order-modal__header,
  .account-order-item,
  .account-order-kv,
  .account-doc-row{
    flex-direction:column;
    align-items:flex-start;
  }
  .account-order-modal__dialog{
    width:min(100vw - 12px, 100%);
    margin:2vh auto;
    border-radius:20px;
  }
  .account-order-modal__content{
    padding:18px;
  }
}

/* v67 account persistence + modern cabinet refresh */

body[data-page="account"] .account-page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
body[data-page="account"] .account-page-head__logout{
  min-height:46px;
  border-radius:16px;
  padding-inline:18px;
}
body[data-page="account"] .account-auth-shell{
  max-width:620px !important;
  margin-inline:auto;
}
body[data-page="account"] .account-auth-card{
  border-radius:28px;
  border:1px solid rgba(227,30,36,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.96));
  box-shadow:0 28px 70px rgba(15,23,42,.10);
}
body[data-page="account"] #phone-auth-panel::before{
  background:
    radial-gradient(circle at top right, rgba(227,30,36,.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(15,23,42,.06), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.96));
}
body[data-page="account"] #phone-auth-panel .body{
  padding:30px;
}
body[data-page="account"] #phone-auth-form{
  position:relative;
}
body[data-page="account"] #phone-auth-form::before{
  content:"";
  display:block;
  width:88px;
  height:6px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--accent), rgba(227,30,36,.18));
  margin-bottom:18px;
}
body[data-page="account"] .auth-stage{
  min-height:312px;
}
body[data-page="account"] .auth-stage--code{
  min-height:338px;
}
body[data-page="account"] #phone-auth-title,
body[data-page="account"] #phone-auth-title-code{
  font-size:32px;
  line-height:1.02;
  letter-spacing:-.02em;
  max-width:14ch;
}
body[data-page="account"] #phone-auth-sub,
body[data-page="account"] #phone-auth-code-sub,
body[data-page="account"] #authHint{
  max-width:40ch;
  font-size:14px !important;
  color:rgba(15,23,42,.68);
}
body[data-page="account"] #phone-auth-form input{
  height:56px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(248,250,252,.94);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
body[data-page="account"] #phone-auth-form input:focus{
  border-color:rgba(227,30,36,.28);
  box-shadow:0 0 0 4px rgba(227,30,36,.09);
}
body[data-page="account"] #authCode{
  letter-spacing:.38em;
  font-size:30px !important;
}
body[data-page="account"] .auth-phone-preview,
body[data-page="account"] .auth-status{
  border-radius:18px;
}
body[data-page="account"] .auth-phone-preview{
  background:linear-gradient(180deg, rgba(248,250,252,.95), rgba(241,245,249,.92));
  border:1px solid rgba(15,23,42,.06);
}
body[data-page="account"] .auth-actions .btn{
  min-height:54px;
  border-radius:18px;
  font-size:16px;
}
body[data-page="account"] .account-dashboard{
  display:grid;
  gap:16px;
}
body[data-page="account"] .account-tabs-modern{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:12px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.96));
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 18px 44px rgba(15,23,42,.06);
}
body[data-page="account"] .account-tabs-modern .tab{
  border-radius:16px;
  padding:12px 16px;
  font-weight:700;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body[data-page="account"] .account-tabs-modern .tab:hover{
  transform:translateY(-1px);
}
body[data-page="account"] .account-tabs-modern .tab.active{
  background:linear-gradient(180deg, rgba(227,30,36,.98), rgba(206,22,27,.98));
  color:#fff;
  box-shadow:0 14px 30px rgba(227,30,36,.20);
}
body[data-page="account"] .account-section-card{
  border-radius:28px;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 22px 54px rgba(15,23,42,.07);
  overflow:hidden;
}
body[data-page="account"] .account-section-card > .body{
  padding:24px;
}
body[data-page="account"] #tab-profile > .body{
  min-height:460px;
}
body[data-page="account"] .account-profile-actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
body[data-page="account"] .account-profile-actions .btn{
  min-height:48px;
  border-radius:16px;
}
.account-profile-shell{
  display:grid;
  gap:18px;
  min-height:344px;
}
.account-profile-shell--edit{
  min-height:344px;
}
.account-profile-hero{
  position:relative;
  overflow:hidden;
  padding:22px 22px 20px;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(227,30,36,.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(15,23,42,.08), transparent 36%),
    linear-gradient(135deg, #fff, #f8fafc);
  border:1px solid rgba(15,23,42,.07);
}
.account-profile-hero__badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  color:rgba(15,23,42,.78);
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.account-profile-hero__name{
  margin:14px 0 8px;
  font-size:32px;
  line-height:1.02;
  letter-spacing:-.03em;
}
.account-profile-hero__subtitle{
  max-width:56ch;
  color:rgba(15,23,42,.70);
  line-height:1.55;
}
.account-profile-hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.account-profile-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}
.account-profile-card{
  min-height:132px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  box-shadow:0 14px 32px rgba(15,23,42,.05);
}
.account-profile-card--wide{
  grid-column:span 3;
}
.account-profile-card__label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:rgba(15,23,42,.55);
}
.account-profile-card__value{
  margin-top:12px;
  font-size:19px;
  line-height:1.35;
  font-weight:700;
  color:var(--text,#0f172a);
}
.account-profile-card__meta{
  margin-top:10px;
  color:rgba(15,23,42,.58);
  font-size:13px;
}
.account-profile-editor{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  align-items:start;
}
.account-profile-field{
  min-height:122px;
  margin:0;
}
.account-profile-field--wide{
  grid-column:1 / -1;
}
.account-profile-field input{
  height:54px;
  border-radius:18px;
}
body[data-page="account"] #profile-view .field-error{
  min-height:20px;
}
body[data-page="account"] #addresses-list > div,
body[data-page="account"] #address-form,
body[data-page="account"] #user-docs-list,
body[data-page="account"] #favorites-grid{
  position:relative;
}
@media (max-width: 960px){
  .account-profile-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .account-profile-card--wide{grid-column:span 2;}
}
@media (max-width: 768px){
  body[data-page="account"] .account-page-head{align-items:flex-start;}
  body[data-page="account"] .account-tabs-modern{padding:10px;overflow:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;}
  body[data-page="account"] #phone-auth-panel .body,
  body[data-page="account"] .account-section-card > .body{padding:18px;}
  body[data-page="account"] #tab-profile > .body{min-height:auto;}
  body[data-page="account"] .auth-stage{min-height:auto;}
  body[data-page="account"] #phone-auth-title,
  body[data-page="account"] #phone-auth-title-code{font-size:26px;max-width:none;}
  .account-profile-hero{padding:18px;}
  .account-profile-hero__name{font-size:28px;}
  .account-profile-grid,
  .account-profile-editor{grid-template-columns:1fr;}
  .account-profile-card--wide,
  .account-profile-field--wide{grid-column:auto;}
  .account-profile-card{min-height:auto;}
}

/* v68 account UX refresh */
body[data-page="account"] .account-auth-shell{
  max-width:680px !important;
}
body[data-page="account"] .account-auth-card{
  position:relative;
  overflow:hidden;
  border-radius:32px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  box-shadow:0 30px 80px rgba(15,23,42,.10);
}
body[data-page="account"] .account-auth-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 100% 0%, rgba(227,30,36,.16), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(15,23,42,.08), transparent 36%);
  pointer-events:none;
}
body[data-page="account"] .account-auth-topbar{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:22px;
}
body[data-page="account"] .account-auth-topbar__badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  color:rgba(15,23,42,.76);
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body[data-page="account"] .account-auth-steps{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
body[data-page="account"] .account-auth-step{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(15,23,42,.05);
  color:rgba(15,23,42,.56);
  font-size:12px;
  font-weight:800;
  transition:background .25s ease, color .25s ease, transform .25s ease;
}
body[data-page="account"] .account-auth-step.is-active,
body[data-page="account"] .account-auth-step.is-complete{
  background:rgba(227,30,36,.10);
  color:var(--accent);
}
body[data-page="account"] .auth-stage-shell{
  position:relative;
  min-height:360px;
}
body[data-page="account"] .auth-stage{
  position:absolute;
  inset:0;
  display:grid;
  align-content:start;
  gap:16px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(12px);
  transition:opacity .28s ease, transform .28s ease, visibility .28s ease;
}
body[data-page="account"] .auth-stage.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
}
body[data-page="account"] .account-auth-copy{
  max-width:44ch;
}
body[data-page="account"] .account-auth-field{
  margin:0;
}
body[data-page="account"] .auth-stage-footer{
  display:grid;
  gap:10px;
  align-content:start;
}
body[data-page="account"] .account-auth-benefits{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
body[data-page="account"] .account-auth-benefits .pill{
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.82);
  color:rgba(15,23,42,.72);
}
body[data-page="account"] #phone-auth-form::before{
  display:none;
}
body[data-page="account"] #phone-auth-panel .body{
  position:relative;
  z-index:1;
  padding:30px;
}
body[data-page="account"] #phone-auth-title,
body[data-page="account"] #phone-auth-title-code{
  margin:0;
  font-size:34px;
  line-height:1.02;
  letter-spacing:-.03em;
}
body[data-page="account"] #phone-auth-sub,
body[data-page="account"] #phone-auth-code-sub,
body[data-page="account"] #authHint{
  margin-top:10px;
  font-size:14px !important;
  line-height:1.6;
  color:rgba(15,23,42,.66);
}
body[data-page="account"] #phone-auth-form .field label{
  font-size:13px;
  font-weight:800;
  color:rgba(15,23,42,.78);
}
body[data-page="account"] #phone-auth-form input{
  height:58px;
  border-radius:20px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.92);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}
body[data-page="account"] .auth-actions{
  margin-top:2px;
}
body[data-page="account"] .auth-actions .btn{
  width:100%;
  min-height:56px;
  border-radius:20px;
  font-size:16px;
}
body[data-page="account"] #authCode{
  font-size:30px !important;
  letter-spacing:.40em;
}
body[data-page="account"] .auth-phone-preview{
  margin-bottom:0;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.06);
  background:rgba(255,255,255,.68);
}
body[data-page="account"] .auth-status{
  margin-top:0;
}
body[data-page="account"] .account-dashboard{
  gap:18px;
}
body[data-page="account"] .account-overview-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}
body[data-page="account"] .account-overview-hero{
  grid-column:span 2;
  min-height:220px;
  padding:22px;
  border-radius:28px;
  border:1px solid rgba(15,23,42,.08);
  background:
    radial-gradient(circle at top right, rgba(227,30,36,.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(15,23,42,.08), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  box-shadow:0 22px 54px rgba(15,23,42,.07);
}
body[data-page="account"] .account-overview-hero__eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(15,23,42,.56);
}
body[data-page="account"] .account-overview-hero__name{
  margin:12px 0 8px;
  font-size:34px;
  line-height:1.02;
  letter-spacing:-.03em;
}
body[data-page="account"] .account-overview-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
body[data-page="account"] .account-overview-hero__text{
  margin:14px 0 0;
  max-width:58ch;
  color:rgba(15,23,42,.72);
  line-height:1.65;
}
body[data-page="account"] .account-overview-hero__foot{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  margin-top:18px;
  color:rgba(15,23,42,.66);
  font-size:14px;
  font-weight:600;
}
body[data-page="account"] .account-overview-metric{
  min-height:220px;
  padding:20px;
  border-radius:24px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  box-shadow:0 16px 40px rgba(15,23,42,.06);
}
body[data-page="account"] .account-overview-metric__label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(15,23,42,.56);
}
body[data-page="account"] .account-overview-metric__value{
  margin-top:18px;
  font-size:44px;
  line-height:1;
  font-weight:900;
  color:var(--text,#0f172a);
}
body[data-page="account"] .account-overview-metric__meta{
  margin-top:14px;
  color:rgba(15,23,42,.66);
  line-height:1.55;
}
body[data-page="account"] .account-tabs-modern{
  padding:14px;
  border-radius:26px;
}
body[data-page="account"] .account-section-card{
  border-radius:30px;
}
body[data-page="account"] .account-section-card > .body{
  padding:26px;
}
body[data-page="account"] .account-profile-card{
  min-height:148px;
}
body[data-page="account"] .account-profile-card__value{
  font-size:20px;
  font-weight:650;
}
body[data-page="account"] .account-order-card,
body[data-page="account"] .account-doc-row{
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
}
@media (max-width: 1100px){
  body[data-page="account"] .account-overview-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  body[data-page="account"] .account-overview-hero{
    grid-column:span 2;
  }
}
@media (max-width: 768px){
  body[data-page="account"] .account-auth-topbar{
    flex-direction:column;
    align-items:flex-start;
  }
  body[data-page="account"] .account-auth-steps{
    justify-content:flex-start;
  }
  body[data-page="account"] .auth-stage-shell{
    min-height:392px;
  }
  body[data-page="account"] #phone-auth-panel .body{
    padding:20px;
  }
  body[data-page="account"] #phone-auth-title,
  body[data-page="account"] #phone-auth-title-code,
  body[data-page="account"] .account-overview-hero__name{
    font-size:28px;
  }
  body[data-page="account"] .account-overview-grid{
    grid-template-columns:1fr;
  }
  body[data-page="account"] .account-overview-hero{
    grid-column:auto;
    min-height:auto;
  }
  body[data-page="account"] .account-overview-metric{
    min-height:auto;
  }
  body[data-page="account"] .account-section-card > .body{
    padding:18px;
  }
}
@media (max-width: 560px){
  body[data-page="account"] .auth-stage-shell{
    min-height:420px;
  }
  body[data-page="account"] .account-auth-step{
    padding-inline:12px;
  }
}

/* v69 mobile-first cabinet, catalog and home refinements */

body[data-page="catalog"] .catalog-search-card,
body[data-page="catalog"] .catalog-sidebar .card,
body[data-page="account"] .account-auth-card,
body[data-page="account"] .account-section-card,
body[data-page="account"] .account-overview-hero,
body[data-page="account"] .account-overview-metric,
body[data-page="account"] .account-profile-card,
body[data-page="account"] .account-order-card{
  backdrop-filter:saturate(1.04);
}

body[data-page="catalog"] #catalog-page-controls{
  gap:12px;
}
body[data-page="catalog"] #catalog-page-controls .per-page-field{
  min-width:148px;
}
body[data-page="catalog"] #catalog-count{
  font-weight:700;
}

@media (max-width: 1180px){
  body[data-page="catalog"] .catalog-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px){
  body[data-page="catalog"] main .container{
    max-width:none;
    padding-inline:14px;
  }
  body[data-page="catalog"] .catalog-search-row{
    position:sticky;
    top:8px;
    z-index:24;
    flex-direction:column;
    align-items:stretch;
    margin:12px 0 16px;
    padding:10px;
    border-radius:22px;
    background:rgba(255,255,255,.94);
    box-shadow:0 18px 32px rgba(15,23,42,.08);
    backdrop-filter:blur(10px);
  }
  body[data-page="catalog"] .catalog-search-card{
    border-radius:20px;
    box-shadow:none;
  }
  body[data-page="catalog"] .catalog-search-card .body{
    padding:10px;
  }
  body[data-page="catalog"] .catalog-search-bar{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  body[data-page="catalog"] .catalog-search-bar .field input,
  body[data-page="catalog"] .catalog-search-bar .field select,
  body[data-page="catalog"] .catalog-search-bar .field textarea{
    min-height:48px;
    border-radius:16px;
  }
  body[data-page="catalog"] .catalog-search-bar .btn,
  body[data-page="catalog"] .catalog-filter-toggle{
    width:100%;
    min-height:46px;
    border-radius:16px;
    justify-content:center;
  }
  body[data-page="catalog"] .catalog-filter-toggle{
    margin-top:2px;
  }
  body[data-page="catalog"] #catalog-page-controls{
    position:sticky;
    top:110px;
    z-index:18;
    margin-bottom:12px;
    padding:10px 12px;
    border-radius:18px;
    background:rgba(255,255,255,.94);
    box-shadow:0 14px 28px rgba(15,23,42,.06);
    backdrop-filter:blur(10px);
  }
  body[data-page="catalog"] #catalog-page-controls .per-page-field{
    min-width:132px;
  }
  body[data-page="catalog"] .catalog-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
  }
  body[data-page="catalog"] .card.product-card{
    border-radius:20px;
  }
  body[data-page="catalog"] .card.product-card .body{
    padding:11px !important;
    gap:10px !important;
  }
  body[data-page="catalog"] .card.product-card .product-title{
    font-size:14px;
    line-height:1.28 !important;
    min-height:calc(3 * 1.28em) !important;
    max-height:calc(3 * 1.28em) !important;
  }
  body[data-page="catalog"] .card.product-card .price{
    font-size:16px;
  }
  body[data-page="catalog"] .card.product-card .product-cart-controls{
    min-height:42px;
    grid-template-columns:36px 1fr 36px 40px;
  }
  body[data-page="catalog"] .card.product-card .product-cart-control{
    min-height:42px;
    font-size:19px;
  }
  body[data-page="catalog"] .card.product-card > .icon-btn{
    width:34px;
    height:34px;
  }
}

@media (max-width: 560px){
  body[data-page="catalog"] .breadcrumbs{
    margin-bottom:8px;
    font-size:12px;
  }
  body[data-page="catalog"] h2{
    font-size:28px;
    line-height:1.06;
  }
  body[data-page="catalog"] .muted[style*="margin:6px 0 0"]{
    font-size:13px;
    line-height:1.5;
  }
  body[data-page="catalog"] .catalog-search-row{
    top:6px;
    padding:8px;
    border-radius:18px;
  }
  body[data-page="catalog"] #catalog-page-controls{
    top:98px;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:8px !important;
    padding:10px;
    border-radius:16px;
  }
  body[data-page="catalog"] #catalog-count{
    margin-right:0 !important;
    width:100%;
    font-size:13px;
  }
  body[data-page="catalog"] #catalog-page-controls .per-page-field{
    width:100%;
  }
  body[data-page="catalog"] #catalog-page-controls .per-page-field select{
    min-height:42px;
    border-radius:14px;
  }
  body[data-page="catalog"] .catalog-grid{
    gap:9px !important;
  }
  body[data-page="catalog"] .card.product-card{
    min-width:0;
  }
  body[data-page="catalog"] .card.product-card .media img{
    padding:10px;
  }
  body[data-page="catalog"] .card.product-card .product-meta{
    min-height:24px;
  }
  body[data-page="catalog"] .card.product-card .product-stock{
    font-size:11px;
    min-height:22px;
  }
  body[data-page="catalog"] .card.product-card .product-title{
    font-size:13.5px;
  }
  body[data-page="catalog"] .card.product-card .price{
    font-size:15px;
  }
  body[data-page="catalog"] .card.product-card .product-cart-btn,
  body[data-page="catalog"] .card.product-card .product-cart-controls{
    border-radius:12px;
  }
}

body[data-page="account"] .account-overview,
body[data-page="account"] #orders-list,
body[data-page="account"] #profile-view,
body[data-page="account"] #favorites-grid{
  min-width:0;
}

@media (max-width: 900px){
  body[data-page="account"] main .container{
    padding-inline:14px;
  }
  body[data-page="account"] .breadcrumbs{
    margin-bottom:8px;
    font-size:12px;
  }
  body[data-page="account"] .account-page-head{
    gap:12px;
  }
  body[data-page="account"] .account-page-head h2{
    font-size:32px;
    line-height:1.02;
  }
  body[data-page="account"] .account-page-head .sub{
    font-size:14px;
    line-height:1.5;
  }
  body[data-page="account"] .account-auth-shell,
  body[data-page="account"] #auth-block{
    max-width:none !important;
  }
  body[data-page="account"] .account-auth-card{
    border-radius:26px;
    box-shadow:0 20px 42px rgba(15,23,42,.09);
  }
  body[data-page="account"] .account-auth-topbar{
    margin-bottom:16px;
  }
  body[data-page="account"] .account-auth-benefits{
    margin-top:14px;
  }
  body[data-page="account"] .account-dashboard{
    gap:14px;
  }
  body[data-page="account"] .account-overview-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }
  body[data-page="account"] .account-overview-hero{
    grid-column:1 / -1;
    padding:18px;
    border-radius:22px;
  }
  body[data-page="account"] .account-overview-hero__name{
    font-size:28px;
  }
  body[data-page="account"] .account-overview-metric{
    min-height:146px;
    padding:16px;
    border-radius:20px;
  }
  body[data-page="account"] .account-overview-metric__value{
    margin-top:12px;
    font-size:34px;
  }
  body[data-page="account"] .account-tabs-modern{
    gap:8px;
    padding:10px;
    border-radius:20px;
    overflow:auto;
    flex-wrap:nowrap;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  body[data-page="account"] .account-tabs-modern::-webkit-scrollbar{display:none;}
  body[data-page="account"] .account-tabs-modern .tab{
    flex:0 0 auto;
    min-width:max-content;
    scroll-snap-align:start;
    padding:11px 14px;
    border-radius:14px;
  }
  body[data-page="account"] .account-section-card{
    border-radius:24px;
  }
  body[data-page="account"] .account-section-card > .body{
    padding:18px;
  }
  body[data-page="account"] #tab-profile > .body{
    min-height:auto;
  }
  body[data-page="account"] .account-profile-actions{
    gap:8px;
  }
  body[data-page="account"] .account-profile-actions .btn{
    flex:1 1 180px;
  }
  body[data-page="account"] .account-profile-shell,
  body[data-page="account"] .account-profile-shell--edit{
    min-height:auto;
  }
  body[data-page="account"] .account-profile-hero{
    padding:18px;
    border-radius:20px;
  }
  body[data-page="account"] .account-profile-hero__name{
    font-size:28px;
  }
  body[data-page="account"] .account-profile-grid,
  body[data-page="account"] .account-profile-editor{
    grid-template-columns:1fr;
    gap:10px;
  }
  body[data-page="account"] .account-profile-card,
  body[data-page="account"] .account-profile-field{
    min-height:auto;
  }
  body[data-page="account"] .account-profile-card{
    padding:16px;
    border-radius:18px;
  }
  body[data-page="account"] .account-profile-card__value{
    font-size:17px;
    line-height:1.42;
    word-break:break-word;
  }
  body[data-page="account"] .account-profile-field input{
    height:50px;
    border-radius:16px;
  }
  body[data-page="account"] .account-orders-list{
    gap:10px;
  }
  body[data-page="account"] .account-order-card{
    padding:14px;
    border-radius:18px;
  }
  body[data-page="account"] .account-order-card__id{
    font-size:16px;
  }
  body[data-page="account"] .account-order-card__sum{
    font-size:17px;
  }
  body[data-page="account"] .account-doc-row{
    gap:10px;
  }
}

@media (max-width: 640px){
  body[data-page="account"] .account-page-head h2{
    font-size:28px;
  }
  body[data-page="account"] .account-page-head__logout{
    width:100%;
    justify-content:center;
  }
  body[data-page="account"] .account-auth-card{
    border-radius:22px;
  }
  body[data-page="account"] .account-auth-topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  body[data-page="account"] .account-auth-steps{
    width:100%;
    justify-content:flex-start;
    overflow:auto;
    flex-wrap:nowrap;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  body[data-page="account"] .account-auth-steps::-webkit-scrollbar{display:none;}
  body[data-page="account"] .auth-stage-shell{
    min-height:0 !important;
  }
  body[data-page="account"] .auth-stage{
    position:static;
    inset:auto;
    display:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
    transition:none;
    gap:14px;
    min-height:0 !important;
  }
  body[data-page="account"] .auth-stage.is-active{
    display:grid;
  }
  body[data-page="account"] #phone-auth-panel .body{
    padding:18px;
  }
  body[data-page="account"] #phone-auth-title,
  body[data-page="account"] #phone-auth-title-code{
    max-width:none;
    font-size:26px;
  }
  body[data-page="account"] #phone-auth-sub,
  body[data-page="account"] #phone-auth-code-sub,
  body[data-page="account"] #authHint{
    font-size:13px !important;
    line-height:1.55;
  }
  body[data-page="account"] #phone-auth-form input{
    height:52px;
    border-radius:18px;
  }
  body[data-page="account"] #authCode{
    font-size:28px !important;
    letter-spacing:.32em;
  }
  body[data-page="account"] .auth-phone-preview,
  body[data-page="account"] .auth-status{
    border-radius:16px;
  }
  body[data-page="account"] .auth-actions .btn,
  body[data-page="account"] .account-profile-actions .btn,
  body[data-page="account"] .account-order-card__actions .btn,
  body[data-page="account"] #address-form .btn{
    width:100%;
    justify-content:center;
  }
  body[data-page="account"] .account-auth-benefits{
    gap:6px;
  }
  body[data-page="account"] .account-auth-benefits .pill{
    font-size:11px;
  }
  body[data-page="account"] .account-overview-grid{
    gap:8px;
  }
  body[data-page="account"] .account-overview-hero,
  body[data-page="account"] .account-overview-metric{
    border-radius:18px;
  }
  body[data-page="account"] .account-overview-metric{
    padding:14px;
  }
  body[data-page="account"] .account-overview-metric__value{
    font-size:28px;
  }
  body[data-page="account"] .account-overview-hero__text,
  body[data-page="account"] .account-overview-hero__foot,
  body[data-page="account"] .account-overview-metric__meta{
    font-size:13px;
    line-height:1.55;
  }
}

@media (max-width: 460px){
  body[data-page="account"] .account-overview-grid{
    grid-template-columns:1fr;
  }
  body[data-page="account"] .account-overview-hero{
    grid-column:auto;
  }
}

@media (max-width: 767px){
  body[data-page="home"] .home-articles-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }
  body[data-page="home"] .home-articles-grid .article-card{
    border-radius:18px;
    min-height:auto;
  }
  body[data-page="home"] .home-articles-grid .article-card .media{
    aspect-ratio:16/11;
  }
  body[data-page="home"] .home-articles-grid .article-card .body{
    gap:8px;
    padding:10px;
  }
  body[data-page="home"] .home-articles-grid .article-card .meta{
    gap:6px;
  }
  body[data-page="home"] .home-articles-grid .article-card .meta .pill{
    min-height:24px;
    padding-inline:8px;
    font-size:11px;
  }
  body[data-page="home"] .home-articles-grid .article-card .title{
    min-height:calc(3 * 1.24em);
    max-height:calc(3 * 1.24em);
    font-size:14px;
    line-height:1.24;
  }
  body[data-page="home"] .home-articles-grid .article-card .btn{
    min-height:34px;
    padding-inline:12px;
    font-size:13px;
  }
  body[data-page="home"] .section-actions--blog-home{
    margin-top:12px;
  }
}

@media (max-width: 380px){
  body[data-page="home"] .home-articles-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 767px){
  body[data-page="home"] #brands-marquee .brands-carousel{
    overflow:visible;
  }
  body[data-page="home"] #brands-marquee .brands-carousel--manual .brands-viewport{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
    padding:2px 0 8px;
  }
  body[data-page="home"] #brands-marquee .brands-carousel--manual .brands-viewport::-webkit-scrollbar{display:none;}
  body[data-page="home"] #brands-marquee .brands-carousel--manual .brands-track{
    width:auto !important;
    transform:none !important;
    will-change:auto;
  }
  body[data-page="home"] #brands-marquee .brands-carousel--manual .brands-group{
    gap:10px;
    padding-right:10px;
  }
  body[data-page="home"] #brands-marquee .brands-carousel--manual .brand-chip{
    width:144px !important;
    min-width:144px !important;
    max-width:144px !important;
    height:72px !important;
    scroll-snap-align:start;
  }
  body[data-page="home"] #brands-marquee .brands-carousel--manual .brand-chip img{
    transform:none;
  }
}

/* v71: brand articles + gallery/cart controls polish */
body[data-page="home"] #brands-marquee .brand-chip{
  position:relative;
}
body[data-page="home"] #brands-marquee .brand-chip::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.04);
  pointer-events:none;
}

.article-card--brand .media,
body[data-page="article"] .brand-article-media{
  background:linear-gradient(180deg,#f8fafc 0%, #eef2f7 100%);
}
.article-card--brand .media img,
body[data-page="article"] .brand-article-media img{
  object-fit:contain !important;
  padding:22px;
  background:transparent;
}
body[data-page="article"] article.brand-article .body{
  position:relative;
}
body[data-page="article"] article.brand-article #article-content{
  color:#334155 !important;
  line-height:1.72;
}
body[data-page="article"] article.brand-article #article-content h2{
  margin:20px 0 10px;
  color:#0f172a;
  font-size:22px;
}
body[data-page="article"] article.brand-article #article-content ul{
  margin:0 0 18px 18px;
  padding:0;
}
body[data-page="article"] article.brand-article #article-content li{
  margin:0 0 8px;
}
body[data-page="article"] article.brand-article .brand-article-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

body[data-page="service"] .service-gallery-item .media{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.22);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
}
body[data-page="service"] .service-gallery-item .media img{
  min-height:228px;
}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow,
.service-gallery-lightbox__arrow,
.service-gallery-lightbox__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow img,
.service-gallery-lightbox__arrow img,
.service-gallery-lightbox__close img{
  width:20px;
  height:20px;
}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.22);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow:hover,
.service-gallery-lightbox__arrow:hover,
.service-gallery-lightbox__close:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 32px rgba(15,23,42,.16);
}
.service-gallery-lightbox__dialog{
  overflow:hidden;
}
.service-gallery-lightbox__counter{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  color:#0f172a;
  font-weight:700;
  margin:0 0 8px;
}
.service-gallery-lightbox__close{
  background:#fff;
  border:1px solid rgba(148,163,184,.24);
  box-shadow:0 12px 24px rgba(15,23,42,.12);
}
.service-gallery-lightbox__arrow{
  border:1px solid rgba(148,163,184,.22);
}
.service-gallery-lightbox__thumbs{
  padding:12px 2px 2px;
}
.service-lightbox-thumb{
  border-color:rgba(148,163,184,.18);
  box-shadow:0 10px 18px rgba(15,23,42,.06);
}
.service-lightbox-thumb.is-active{
  box-shadow:0 0 0 4px rgba(227,30,36,.08), 0 12px 24px rgba(15,23,42,.08);
}

.drawer .body .row.cart-row{
  grid-template-columns:72px 1fr 44px;
  align-items:flex-start;
}
.drawer .body .row.cart-row > img{
  width:72px;
  height:72px;
  object-fit:contain;
  background:linear-gradient(180deg,#f8fafc,#eef2f7);
}
.drawer .body .row.cart-row .name{
  white-space:normal;
  line-height:1.35;
  font-size:14px;
}
.drawer .body .row.cart-row .cart-row-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:8px;
  flex-wrap:wrap;
}
.drawer .body .row.cart-row .cart-qty-box{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(148,163,184,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 10px 20px rgba(15,23,42,.05);
}
.drawer .body .row.cart-row .cart-step{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.18);
  background:#f8fafc;
  color:#0f172a;
  font-size:22px;
  line-height:1;
  padding:0;
}
.drawer .body .row.cart-row .cart-step:hover{
  background:#fff;
}
.drawer .body .row.cart-row input[data-cart-qty]{
  width:52px !important;
  min-width:52px;
  text-align:center;
  padding:6px 4px !important;
  border:none !important;
  box-shadow:none !important;
  background:transparent !important;
  font-weight:700;
}
.drawer .body .row.cart-row .cart-row-line{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  font-weight:800;
}
.drawer .body .row.cart-row .cart-remove.icon-btn{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid rgba(254,202,202,.9);
  background:#fff5f5;
  opacity:1;
}
.drawer .body .row.cart-row .cart-remove.icon-btn:hover{
  background:#fee2e2;
}
.drawer .body .row.cart-row .cart-remove img{
  width:18px;
  height:18px;
}

@media (max-width: 768px){
  .article-card--brand .media img,
  body[data-page="article"] .brand-article-media img{padding:16px;}
  body[data-page="service"] .service-gallery-item .media img{min-height:184px;}
  .service-gallery-lightbox__counter{min-height:32px;font-size:13px;padding:0 10px;}
  .drawer .body .row.cart-row{grid-template-columns:64px 1fr 40px;}
  .drawer .body .row.cart-row > img{width:64px;height:64px;}
  .drawer .body .row.cart-row .cart-row-controls{gap:10px;}
}

/* v72: robust mobile menu + stable cart cards + gray brand logos */
html.mobile-menu-open,
body.mobile-menu-open{
  overflow:hidden !important;
}

@media (max-width:640px){
  .mobile-toggle{
    width:44px;
    height:44px;
    border-radius:14px;
    background:linear-gradient(180deg,#ffffff 0%, #f8fafc 100%);
    border:1px solid rgba(148,163,184,.26);
    box-shadow:0 8px 22px rgba(15,23,42,.08);
  }
  .mobile-toggle__bars{
    width:18px;
    height:14px;
    display:inline-flex;
    flex-direction:column;
    justify-content:space-between;
  }
  .mobile-toggle__bars span{
    display:block;
    width:100%;
    height:2px;
    border-radius:999px;
    background:#0f172a;
    transition:transform .22s ease, opacity .22s ease, width .22s ease;
    transform-origin:center;
  }
  .mobile-toggle.is-open .mobile-toggle__bars span:nth-child(1){transform:translateY(6px) rotate(45deg);}
  .mobile-toggle.is-open .mobile-toggle__bars span:nth-child(2){opacity:0;}
  .mobile-toggle.is-open .mobile-toggle__bars span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

  .mobile-overlay[hidden],
  .mobile-menu[hidden]{display:none !important;}

  .mobile-overlay{
    position:fixed !important;
    inset:0 !important;
    background:rgba(15,23,42,.48) !important;
    backdrop-filter:blur(10px) saturate(118%);
    -webkit-backdrop-filter:blur(10px) saturate(118%);
    z-index:2400 !important;
    opacity:0;
    pointer-events:none;
    transition:opacity .24s ease;
  }
  .mobile-overlay.is-open{
    opacity:1;
    pointer-events:auto;
  }

  .mobile-menu{
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;
    width:min(88vw, 360px) !important;
    max-width:360px !important;
    border-radius:24px 0 0 24px !important;
    border-left:1px solid rgba(148,163,184,.2) !important;
    border-top:none !important;
    background:rgba(255,255,255,.97) !important;
    box-shadow:-18px 0 48px rgba(15,23,42,.22) !important;
    z-index:2450 !important;
    transform:translateX(108%);
    opacity:0;
    pointer-events:none;
    transition:transform .26s ease, opacity .26s ease;
    display:flex !important;
    flex-direction:column;
    overflow:hidden;
  }
  .mobile-menu.is-open{
    transform:translateX(0);
    opacity:1;
    pointer-events:auto;
  }
  .mobile-menu-head{
    padding:18px 18px 14px !important;
    background:linear-gradient(180deg,rgba(254,242,242,.98) 0%, rgba(255,255,255,.98) 100%) !important;
    border-bottom:1px solid rgba(148,163,184,.14) !important;
  }
  .mobile-menu-branding{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
  }
  .mobile-menu-eyebrow{
    font-size:12px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#94a3b8;
  }
  .mobile-menu-title{
    font-size:24px !important;
    line-height:1.02;
    font-weight:900 !important;
    color:#0f172a;
  }
  .mobile-close-btn{
    width:42px;
    height:42px;
    border-radius:14px;
    background:#fff;
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 8px 20px rgba(15,23,42,.07);
    flex:0 0 auto;
  }
  .mobile-close-btn img{
    width:16px;
    height:16px;
    opacity:.78;
  }

  .mobile-menu-body{
    flex:1 1 auto;
    padding:14px !important;
    display:flex;
    flex-direction:column;
    gap:14px !important;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .mobile-menu-group{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .mobile-menu-group--secondary .mnav-item{
    background:rgba(248,250,252,.92);
  }
  .mnav-sep{
    height:1px;
    margin:2px 4px;
    background:linear-gradient(90deg,rgba(148,163,184,0),rgba(148,163,184,.35),rgba(148,163,184,0));
  }
  .mnav-item{
    display:flex !important;
    align-items:center;
    gap:12px;
    min-height:56px;
    width:100%;
    padding:10px 12px !important;
    border-radius:18px !important;
    border:1px solid rgba(148,163,184,.16) !important;
    background:linear-gradient(180deg,#ffffff 0%, #f8fafc 100%) !important;
    color:#0f172a !important;
    text-decoration:none;
    box-shadow:0 8px 18px rgba(15,23,42,.05);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  }
  button.mnav-item{appearance:none;-webkit-appearance:none;}
  .mnav-item:hover,
  .mnav-item:focus-visible,
  .mnav-item.is-active{
    border-color:rgba(227,30,36,.22) !important;
    background:#fff !important;
    box-shadow:0 12px 26px rgba(15,23,42,.08);
  }
  .mnav-item:active{
    transform:none !important;
    filter:none !important;
  }
  .mnav-item .mnav-ic{
    width:40px;
    height:40px;
    border-radius:14px;
    background:rgba(227,30,36,.08);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 40px;
  }
  .mnav-item .mnav-ic img{
    width:18px;
    height:18px;
    opacity:.92;
  }
  .mnav-item .mnav-label{
    flex:1 1 auto;
    min-width:0;
    font-size:15px !important;
    line-height:1.2;
    font-weight:800;
  }
  .mnav-item .mnav-chevron{
    flex:0 0 auto;
    margin-left:auto;
    color:#94a3b8;
    font-size:20px;
    line-height:1;
    transition:transform .18s ease, color .18s ease;
  }
  .mnav-item:hover .mnav-chevron,
  .mnav-item:focus-visible .mnav-chevron,
  .mnav-item.is-active .mnav-chevron{
    color:var(--accent);
    transform:translateX(2px);
  }

  .mobile-menu-foot{
    padding:14px 14px calc(14px + env(safe-area-inset-bottom)) !important;
    border-top:1px solid rgba(148,163,184,.14);
    background:linear-gradient(180deg,rgba(255,255,255,.98) 0%, rgba(248,250,252,.98) 100%);
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .mobile-menu-phone{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 14px;
    border-radius:16px;
    border:1px solid rgba(148,163,184,.18);
    background:#fff;
    color:#0f172a;
    text-decoration:none;
    font-weight:800;
    box-shadow:0 8px 16px rgba(15,23,42,.04);
  }
  .mobile-menu-request.btn{
    width:100%;
    min-height:46px;
    justify-content:center;
    border-radius:16px;
  }

  .mobile-bottom-nav{
    z-index:1300;
  }
}

body[data-page="home"] #brands-marquee .brand-chip img{
  transition:filter .28s ease, opacity .28s ease, transform .28s ease !important;
  filter:grayscale(1) saturate(0) contrast(1.04);
  opacity:.86;
}
body[data-page="home"] #brands-marquee .brand-chip:hover img,
body[data-page="home"] #brands-marquee .brand-chip:focus-visible img,
body[data-page="home"] #brands-marquee .brand-chip:active img{
  filter:none;
  opacity:1;
  transform:scale(1.02) !important;
}

.card.product-card,
.card.product-card:hover,
.card.product-card:focus-within{
  transform:none !important;
  box-shadow:0 10px 24px rgba(15,23,42,.05) !important;
}
.card.product-card{
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.card.product-card .product-cart-widget{
  width:100%;
  min-height:46px;
  height:46px;
  display:block;
}
.card.product-card .product-cart-btn,
.card.product-card .product-cart-controls{
  min-height:46px !important;
  height:46px;
  box-sizing:border-box;
  box-shadow:none !important;
}
.card.product-card .product-cart-controls{
  border:1px solid rgba(227,30,36,.16);
}
.card.product-card .product-cart-control:active{
  transform:none !important;
}

@media (max-width:640px){
  .card.product-card .product-cart-widget{
    min-height:42px;
    height:42px;
  }
  .card.product-card .product-cart-btn,
  .card.product-card .product-cart-controls{
    min-height:42px !important;
    height:42px;
  }
}

/* v73 auth cleanup + resend UX */
body[data-page="account"] .account-auth-benefits{
  display:none !important;
}
body[data-page="account"] .auth-stage-shell{
  min-height:332px;
}
body[data-page="account"] .auth-timer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
body[data-page="account"] .auth-resend-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.96);
  color:var(--accent);
  font-size:13px;
  font-weight:800;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
}
body[data-page="account"] .auth-resend-link:hover:not(:disabled){
  transform:translateY(-1px);
  box-shadow:0 16px 32px rgba(15,23,42,.10);
  background:#fff;
}
body[data-page="account"] .auth-resend-link.is-disabled,
body[data-page="account"] .auth-resend-link:disabled{
  opacity:.58;
  cursor:default;
  pointer-events:none;
  box-shadow:none;
}
body[data-page="account"] .auth-timer-row .muted{
  min-height:20px;
}
@media (max-width:767px){
  body[data-page="account"] .auth-stage-shell{
    min-height:0;
  }
  body[data-page="account"] .auth-timer-row{
    align-items:flex-start;
  }
  body[data-page="account"] .auth-resend-link{
    width:100%;
  }
}


/* v75: header phones, right filters, faster media, cleaner login */
body[data-page="catalog"] .catalog-sidebar{
  left:auto !important;
  right:0 !important;
  transform:translateX(105%);
}
html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{transform:translateX(0);}

.topbar-phones{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.topbar-phone-link{
  font-weight:800;
  color:var(--text);
  text-decoration:none;
  white-space:nowrap;
}
.topbar-phone-link:hover{color:var(--accent);}
.topbar-phone-sep{opacity:.32;}
.topbar-main-sep{opacity:.28;}
@media (max-width:640px){
  .topbar-left{
    display:grid;
    gap:4px;
  }
  .topbar-phones{
    justify-content:space-between;
    width:100%;
  }
  .topbar-main-sep{display:none;}
}

@media (hover:hover) and (pointer:fine){
  .card.product-card{
    transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease !important;
  }
  .card.product-card .media img,
  .card.product-card .product-title,
  .card.product-card .price{
    transition:transform .3s ease, filter .3s ease, color .24s ease;
  }
  .card.product-card:hover,
  .card.product-card:focus-within{
    transform:translateY(-4px) !important;
    box-shadow:0 18px 36px rgba(15,23,42,.10) !important;
    border-color:rgba(227,30,36,.16);
  }
  .card.product-card:hover .media img,
  .card.product-card:focus-within .media img{
    transform:scale(1.025);
  }
}
.card.product-card .product-cart-btn,
.card.product-card .product-cart-controls,
.card.product-card .product-cart-control,
.card.product-card .product-cart-control:active,
.card.product-card [data-add-cart],
.card.product-card [data-cart-dec],
.card.product-card [data-cart-inc],
.card.product-card [data-cart-remove]{
  transform:none !important;
}

body[data-page="article"] #article-views{display:none !important;}
body[data-page="account"] .account-auth-benefits,
body[data-page="account"] .account-login-benefits,
body[data-page="account"] .account-auth-features,
body[data-page="account"] .account-auth-feature-grid{display:none !important;}
body[data-page="account"] .account-summary-strip{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:14px;
  padding:18px 20px;
  border-radius:24px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  box-shadow:0 18px 42px rgba(15,23,42,.06);
}
body[data-page="account"] .account-summary-strip__eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(15,23,42,.54);
}
body[data-page="account"] .account-summary-strip__name{
  margin:6px 0 0;
  font-size:26px;
  line-height:1.05;
}
body[data-page="account"] .account-summary-strip__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
body[data-page="account"] .account-summary-strip__stats{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
body[data-page="account"] .account-summary-chip{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.94);
  color:rgba(15,23,42,.74);
  font-weight:700;
}
body[data-page="account"] #phone-auth-form input[type="tel"]::placeholder{color:transparent;}
@media (max-width:767px){
  body[data-page="account"] .account-summary-strip{
    grid-template-columns:1fr;
    padding:16px;
  }
  body[data-page="account"] .account-summary-strip__stats{justify-content:flex-start;}
}


/* v75: verified desktop fixes, stronger auth cleanup, no legacy views */
body[data-page="catalog"] .catalog-sidebar{
  left:auto !important;
  right:0 !important;
  margin-left:auto;
  transform:translateX(112%);
}
html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{
  transform:translateX(0);
}
body[data-page="catalog"] #catalog-filters-backdrop{
  z-index:1348;
}
body[data-page="catalog"] .catalog-sidebar{
  z-index:1349;
}

.topbar-phones{
  gap:10px;
}
.topbar-phone-link{
  min-width:4.2ch;
  text-align:center;
}

body[data-page="account"] .account-auth-benefits,
body[data-page="account"] .account-login-benefits,
body[data-page="account"] .account-auth-features,
body[data-page="account"] .account-auth-feature-grid,
body[data-page="account"] .account-auth-stats,
body[data-page="account"] .account-auth-stat-grid,
body[data-page="account"] .account-auth-points,
body[data-page="account"] .account-auth-point-list,
body[data-page="account"] .account-auth-aside,
body[data-page="account"] .auth-benefits,
body[data-page="account"] .auth-benefits-grid,
body[data-page="account"] .auth-benefit,
body[data-page="account"] .login-benefits,
body[data-page="account"] .login-benefit-grid{
  display:none !important;
}
body[data-page="account"] #auth-block{
  max-width:640px;
}
body[data-page="account"] .account-auth-card{
  overflow:hidden;
}
body[data-page="account"] .auth-stage-shell{
  min-height:0;
}

body[data-page="product"] #similar-grid,
body[data-page="product"] #similar-section,
body[data-page="product"] .product-similar,
body[data-page="product"] .similar-products,
body[data-page="product"] [data-similar-products]{
  display:none !important;
}

body[data-page="blog"] .views,
body[data-page="blog"] .article-views,
body[data-page="blog"] .blog-views,
body[data-page="article"] #article-views,
body[data-page="article"] .article-views,
.article-card .views,
.article-card .article-views,
.article-row .views,
.article-row .article-views{
  display:none !important;
}

@media (hover:hover) and (pointer:fine){
  .card.product-card{
    will-change:transform, box-shadow;
  }
  .card.product-card:hover,
  .card.product-card:focus-within{
    transform:translateY(-6px) !important;
    box-shadow:0 22px 44px rgba(15,23,42,.12) !important;
  }
}
.card.product-card .product-cart-widget,
.card.product-card .product-cart-btn,
.card.product-card .product-cart-controls{
  contain:layout paint;
}


/* v75: final auth cleanup + minimal cabinet + fallback summary suppression */
body[data-page="account"] .account-auth-shell{max-width:560px !important;}
body[data-page="account"] .account-auth-card{
  border-radius:28px !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 24px 60px rgba(15,23,42,.08) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98)) !important;
}
body[data-page="account"] .account-auth-copy h2{font-size:40px;line-height:1.02;}
body[data-page="account"] .auth-stage-shell{gap:0;}
body[data-page="account"] .auth-actions{margin-top:18px;}
body[data-page="account"] .auth-hint{min-height:40px;}
@media (max-width:767px){
  body[data-page="account"] .account-auth-copy h2{font-size:30px;}
}

/* v75: deploy-safe desktop fixes, right-side filters, persistent top phones, faster video shells */
body[data-page="catalog"] .catalog-sidebar{
  left:auto !important;
  right:0 !important;
  inset:0 0 0 auto !important;
  width:min(380px, 92vw) !important;
  transform:translateX(calc(100% + 18px)) !important;
}
html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{
  transform:translateX(0) !important;
}
body[data-page="catalog"] #catalog-filters-backdrop{
  z-index:1340;
}

.topbar-phones{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.topbar-phone-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:56px;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:var(--text);
  text-decoration:none;
  font-weight:900;
  letter-spacing:.02em;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.topbar-phone-link:hover,
.topbar-phone-link:focus-visible{
  color:var(--accent);
  background:#fff;
  transform:translateY(-1px);
}
.topbar-phone-sep{opacity:.28;}
.mobile-menu-phones{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}

.zs-video-shell{
  background-image:var(--video-poster), linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,41,59,.86));
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
}
.zs-video-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.16));
  pointer-events:none;
}
.zs-video-shell .zs-spinner,
.zs-video-shell .zs-video{position:relative;z-index:1;}
.zs-video{
  background:transparent !important;
}

body[data-page="account"] .account-auth-benefits,
body[data-page="account"] .account-login-benefits,
body[data-page="account"] .account-auth-feature-grid,
body[data-page="account"] .account-auth-panels,
body[data-page="account"] .account-auth-benefit-grid{
  display:none !important;
}
body[data-page="account"] .account-auth-topbar__badge{
  font-weight:900;
}
body[data-page="account"] .auth-stage-shell{
  min-height:auto !important;
}
body[data-page="account"] .auth-actions{margin-top:16px;}
body[data-page="account"] #phone-auth-form .field{margin-bottom:0;}

@media (max-width:640px){
  .mobile-menu-phones{
    grid-template-columns:1fr 1fr;
  }
  .topbar-left{
    display:grid;
    gap:4px;
  }
}

/* v75: right-side filters, minimal auth, stable cards, product hover */
body[data-page="catalog"] .catalog-sidebar{
  left:auto !important;
  right:0 !important;
  inset:0 0 0 auto !important;
  transform:translateX(108%) !important;
  z-index:1350 !important;
}
html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{
  transform:translateX(0) !important;
}
body[data-page="catalog"] #catalog-filters-backdrop{
  z-index:1340 !important;
}

@media (hover:hover) and (pointer:fine){
  .card.product-card{
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    will-change:transform;
  }
  .card.product-card:hover,
  .card.product-card:focus-within{
    transform:translateY(-5px) !important;
    box-shadow:0 20px 42px rgba(15,23,42,.11) !important;
    border-color:rgba(227,30,36,.18) !important;
  }
  .card.product-card:hover .media img,
  .card.product-card:focus-within .media img{
    transform:scale(1.03);
  }
}

.card.product-card .product-cart-widget,
.card.product-card .product-cart-btn,
.card.product-card .product-cart-controls,
.card.product-card .product-cart-control,
.card.product-card .product-cart-control:active,
.card.product-card [data-add-cart],
.card.product-card [data-cart-dec],
.card.product-card [data-cart-inc],
.card.product-card [data-cart-remove]{
  transform:none !important;
}
.card.product-card .product-cart-widget{
  min-height:50px;
}
.card.product-card .product-cart-btn,
.card.product-card .product-cart-controls{
  min-height:50px;
}

body[data-page="product"] .similar-carousel,
body[data-page="product"] #similar-grid,
body[data-page="product"] [data-similar-products],
body[data-page="product"] .product-similar-section{
  display:none !important;
}

body[data-page="article"] #article-views,
body[data-page="blog"] .article-card .views,
body[data-page="blog"] .article-card .pill[data-views],
body[data-page="blog"] .article-card .article-views,
body[data-page="blog"] .article-row .article-views{
  display:none !important;
}

body[data-page="account"] .account-auth-benefits,
body[data-page="account"] .account-login-benefits,
body[data-page="account"] .account-auth-features,
body[data-page="account"] .account-auth-feature-grid,
body[data-page="account"] .account-auth-feature,
body[data-page="account"] .account-auth-grid,
body[data-page="account"] .account-login-grid,
body[data-page="account"] .auth-feature-grid,
body[data-page="account"] .auth-benefits-grid{
  display:none !important;
}
body[data-page="account"] .account-auth-shell{
  max-width:620px;
}
body[data-page="account"] .account-auth-card{
  border-radius:30px;
  border:1px solid rgba(227,30,36,.08);
  box-shadow:0 22px 54px rgba(15,23,42,.08);
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(253,247,247,.98));
}
body[data-page="account"] .account-auth-topbar{
  margin-bottom:8px;
}
body[data-page="account"] .account-auth-copy h2,
body[data-page="account"] #phone-auth-title,
body[data-page="account"] #phone-auth-title-code{
  font-size:clamp(28px, 3.2vw, 44px);
  line-height:1.06;
  letter-spacing:-.03em;
}
body[data-page="account"] .auth-stage{
  min-height:0;
}
body[data-page="account"] .auth-stage-shell{
  gap:16px;
}
body[data-page="account"] .auth-hint{
  margin-top:6px;
}
body[data-page="account"] .auth-status{
  min-height:20px;
}


/* v75: account refresh, stronger right drawer, smoother product hover, faster video shells */

body[data-page="account"] .account-overview-grid{display:block !important;}
body[data-page="account"] .account-overview-grid > .account-overview-metric{display:none !important;}
body[data-page="account"] .account-overview-grid > .account-overview-hero{display:none !important;}
body[data-page="account"] .account-hero-card{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(260px,.9fr);
  gap:18px;
  padding:22px 24px;
  border-radius:28px;
  border:1px solid rgba(226,232,240,.88);
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,246,.96));
  box-shadow:0 24px 60px rgba(15,23,42,.08);
}
body[data-page="account"] .account-hero-card__eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#94a3b8;
}
body[data-page="account"] .account-hero-card__title{
  margin:10px 0 0;
  font-size:32px;
  line-height:1.08;
  letter-spacing:-.03em;
}
body[data-page="account"] .account-hero-card__text{
  margin:12px 0 0;
  max-width:640px;
  color:#475569;
  font-size:15px;
  line-height:1.62;
}
body[data-page="account"] .account-hero-card__chips{
  margin-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
body[data-page="account"] .account-hero-card__side{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  align-content:start;
}
body[data-page="account"] .account-hero-stat{
  min-height:110px;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.84);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
body[data-page="account"] .account-hero-stat__label{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#64748b;
}
body[data-page="account"] .account-hero-stat__value{
  display:block;
  margin-top:10px;
  font-size:30px;
  line-height:1;
  letter-spacing:-.04em;
  color:#0f172a;
}
body[data-page="account"] .account-hero-card__foot{
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding-top:6px;
  color:#475569;
  font-size:14px;
}
body[data-page="account"] .account-auth-shell{
  max-width:560px !important;
}
body[data-page="account"] .account-auth-card{
  border-radius:30px;
  border:1px solid rgba(252,226,226,.95);
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,245,245,.97));
  box-shadow:0 28px 70px rgba(15,23,42,.08);
}
body[data-page="account"] .account-auth-card::after{
  background:radial-gradient(circle at top right, rgba(227,30,36,.12), transparent 48%);
}
body[data-page="account"] .account-auth-topbar{
  align-items:flex-start;
}
body[data-page="account"] .account-auth-topbar__badge{
  background:rgba(227,30,36,.08);
  border-color:rgba(227,30,36,.18);
}
body[data-page="account"] .auth-stage-shell{
  min-height:308px;
}
body[data-page="account"] .auth-stage{
  gap:18px;
}
body[data-page="account"] .auth-actions .btn{
  min-height:52px;
  border-radius:16px;
}
body[data-page="account"] #authHint{
  margin-top:6px;
  font-size:13px;
  line-height:1.55;
}
body[data-page="account"] .auth-status{
  min-height:22px;
}
body[data-page="account"] .account-section-card{
  border-radius:24px;
  box-shadow:0 14px 36px rgba(15,23,42,.06);
}
body[data-page="account"] .account-section-card > .body{
  padding:24px;
}
@media (max-width: 900px){
  body[data-page="account"] .account-hero-card{
    grid-template-columns:1fr;
    padding:18px;
  }
  body[data-page="account"] .account-hero-card__title{font-size:28px;}
}
@media (max-width: 640px){
  body[data-page="account"] .account-hero-card__side{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
  body[data-page="account"] .account-hero-stat{
    min-height:96px;
    padding:14px;
    border-radius:18px;
  }
  body[data-page="account"] .account-hero-stat__value{font-size:26px;}
  body[data-page="account"] .account-auth-card{border-radius:24px;}
}
@media (max-width: 420px){
  body[data-page="account"] .account-hero-card__side{grid-template-columns:1fr 1fr;}
  body[data-page="account"] .account-hero-card__title{font-size:24px;}
}

html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{
  left:auto !important;
  right:0 !important;
  transform:translateX(0) !important;
}
body[data-page="catalog"] .catalog-sidebar{
  left:auto !important;
  right:0 !important;
  transform:translateX(108%) !important;
}

@media (hover:hover){
  .card.product-card{
    transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  }
  .card.product-card:hover{
    transform:translateY(-4px) !important;
    box-shadow:0 18px 36px rgba(15,23,42,.1) !important;
  }
  .card.product-card:hover .media img,
  .card.product-card:hover .product-media img{
    transform:scale(1.018) !important;
    transition:transform .24s ease;
  }
}
.card.product-card .product-cart-btn:active,
.card.product-card .product-cart-control:active,
.card.product-card .product-cart-btn:focus,
.card.product-card .product-cart-control:focus{
  transform:none !important;
}
.card.product-card .product-cart-widget,
.card.product-card .product-cart-btn,
.card.product-card .product-cart-controls{
  contain:layout paint;
}

.zs-video-shell{
  background:linear-gradient(135deg, rgba(15,23,42,.9), rgba(30,41,59,.78));
}
.zs-video{
  background:transparent !important;
  will-change:opacity, transform;
}
.zs-video-shell.loading .zs-video{opacity:.84;}
.zs-video-shell.loaded .zs-video{opacity:1;}

/* v75: deployment-safe overrides for catalog drawer, phones, auth polish and product hover */
body[data-page="catalog"] .catalog-sidebar{
  left:auto !important;
  right:0 !important;
  transform:translateX(108%) !important;
}
html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{
  transform:translateX(0) !important;
}

.topbar-phones{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.topbar-phone-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(227,30,36,.08);
  border:1px solid rgba(227,30,36,.12);
  font-weight:800;
  color:var(--text);
  text-decoration:none !important;
  letter-spacing:.02em;
}
.topbar-phone-link:hover{
  background:rgba(227,30,36,.12);
  color:var(--accent);
}
.topbar-phone-sep{display:none;}
.mobile-menu-phones{
  display:flex;
  flex-direction:column;
  gap:8px;
  width:100%;
}
.mobile-menu-phone{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(255,255,255,.9);
  color:var(--text);
  text-decoration:none !important;
  font-weight:700;
}

body[data-page="account"] .account-auth-card{
  border-radius:28px;
  border:1px solid rgba(227,30,36,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  box-shadow:0 22px 50px rgba(15,23,42,.08);
}
body[data-page="account"] .account-auth-topbar__badge{
  background:rgba(227,30,36,.08);
  border:1px solid rgba(227,30,36,.12);
  color:var(--accent);
}
body[data-page="account"] .account-auth-copy h2{
  font-size:clamp(32px, 4vw, 46px);
  letter-spacing:-.03em;
}
body[data-page="account"] .account-auth-copy .muted{
  max-width:48ch;
}
body[data-page="account"] .auth-stage-shell{
  min-height:0;
}

.card.product-card{
  transform:none !important;
  transition:box-shadow .24s ease, border-color .24s ease, background-color .24s ease !important;
}
.card.product-card .media{
  overflow:hidden;
}
.card.product-card .media img{
  transition:transform .28s ease, filter .28s ease !important;
}
@media (hover:hover) and (pointer:fine){
  .card.product-card:hover,
  .card.product-card:focus-within{
    transform:none !important;
    box-shadow:0 18px 36px rgba(15,23,42,.10) !important;
    border-color:rgba(227,30,36,.15);
  }
  .card.product-card:hover .media img,
  .card.product-card:focus-within .media img{
    transform:scale(1.025) !important;
  }
}
.card.product-card .product-cart-widget,
.card.product-card .product-cart-btn,
.card.product-card .product-cart-controls,
.card.product-card .product-cart-control,
.card.product-card [data-add-cart],
.card.product-card [data-cart-dec],
.card.product-card [data-cart-inc],
.card.product-card [data-cart-remove]{
  transform:none !important;
}


/* v75 final override: desktop catalog sidebar visible on right, mobile drawer slides from right */
@media (min-width:981px){
  body[data-page="catalog"] .catalog-layout{
    grid-template-columns:minmax(0,1fr) 320px !important;
    gap:28px !important;
  }
  body[data-page="catalog"] .catalog-content{order:1;min-width:0;}
  body[data-page="catalog"] .catalog-sidebar{
    order:2;
    position:sticky !important;
    top:92px !important;
    left:auto !important;
    right:auto !important;
    inset:auto !important;
    width:320px !important;
    min-width:320px !important;
    transform:none !important;
    padding:0 !important;
    background:transparent !important;
    overflow:visible !important;
    z-index:4 !important;
  }
  body[data-page="catalog"] #catalog-filters-backdrop,
  body[data-page="catalog"] .catalog-filter-toggle,
  body[data-page="catalog"] #catalog-filters-close{display:none !important;}
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:14px !important;}
}
@media (min-width:1500px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;}
}
@media (min-width:1200px) and (max-width:1499px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;}
}
@media (min-width:981px) and (max-width:1199px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media (max-width:980px){
  body[data-page="catalog"] .catalog-layout{grid-template-columns:1fr !important;}
  body[data-page="catalog"] .catalog-filter-toggle{display:inline-flex !important;align-items:center;gap:10px;justify-content:center;}
  body[data-page="catalog"] .catalog-sidebar{
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    left:auto !important;
    bottom:0 !important;
    inset:0 0 0 auto !important;
    width:min(390px, calc(100vw - 20px)) !important;
    min-width:0 !important;
    padding:14px 12px calc(16px + env(safe-area-inset-bottom)) !important;
    background:transparent !important;
    overflow:auto !important;
    transform:translateX(108%) !important;
    transition:transform .28s ease !important;
    z-index:1350 !important;
  }
  body[data-page="catalog"] .catalog-sidebar > .card{
    min-height:100%;
    border-radius:22px;
    box-shadow:0 22px 56px rgba(15,23,42,.18);
  }
  html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{transform:translateX(0) !important;}
  body[data-page="catalog"] #catalog-filters-backdrop{
    position:fixed;inset:0;z-index:1340 !important;background:rgba(15,23,42,.46);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);
  }
  body[data-page="catalog"] #catalog-filters-backdrop[hidden]{display:none !important;}
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;}
}

/* v75 final override: stable product-card hover without layout shift */
@media (hover:hover) and (pointer:fine){
  .card.product-card{
    transform:translateY(0) !important;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
    will-change:transform;
  }
  .card.product-card:hover,
  .card.product-card:focus-within{
    transform:translateY(-4px) !important;
    box-shadow:0 18px 36px rgba(15,23,42,.10) !important;
    border-color:rgba(227,30,36,.18) !important;
  }
  .card.product-card:hover .media img,
  .card.product-card:focus-within .media img{transform:scale(1.024) !important;}
}
.card.product-card .product-cart-widget,
.card.product-card .product-cart-btn,
.card.product-card .product-cart-controls,
.card.product-card .product-cart-control,
.card.product-card .product-cart-control:active,
.card.product-card [data-add-cart],
.card.product-card [data-cart-dec],
.card.product-card [data-cart-inc],
.card.product-card [data-cart-remove]{
  transform:none !important;
}
.card.product-card .product-title{font-size:16px !important;line-height:1.35 !important;font-weight:600 !important;}

/* v75 final override: hide legacy auth feature cards under login */
body[data-page="account"] .account-auth-benefits,
body[data-page="account"] .account-login-benefits,
body[data-page="account"] .account-auth-features,
body[data-page="account"] .account-auth-feature-grid,
body[data-page="account"] .account-auth-feature,
body[data-page="account"] .account-auth-grid,
body[data-page="account"] .account-login-grid,
body[data-page="account"] .auth-feature-grid,
body[data-page="account"] .auth-benefits-grid{display:none !important;}
body[data-page="account"] .auth-stage-shell,
body[data-page="account"] .auth-stage{min-height:0 !important;}
body[data-page="account"] .auth-hint{min-height:40px;}
body[data-page="account"] .auth-status{min-height:20px;}

/* v75 final override: video surfaces */
.zs-video-shell,
.zs-video-shell video{background:#10141b !important;}
.zs-video-shell video{object-fit:cover !important;}

/* v75 absolute final: filter drawer always opens from the right on desktop and mobile */
body[data-page="catalog"] .catalog-layout{grid-template-columns:1fr !important;}
body[data-page="catalog"] .catalog-content{order:1;min-width:0;}
body[data-page="catalog"] .catalog-filter-toggle{display:inline-flex !important;align-items:center;gap:10px;justify-content:center;}
body[data-page="catalog"] #catalog-filters-close{display:inline-flex !important;}
body[data-page="catalog"] .catalog-sidebar{
  order:2;
  position:fixed !important;
  top:0 !important;
  right:0 !important;
  left:auto !important;
  bottom:0 !important;
  inset:0 0 0 auto !important;
  width:min(390px, calc(100vw - 20px)) !important;
  min-width:0 !important;
  padding:14px 12px calc(16px + env(safe-area-inset-bottom)) !important;
  background:transparent !important;
  overflow:auto !important;
  transform:translateX(108%) !important;
  transition:transform .28s ease !important;
  z-index:1350 !important;
}
body[data-page="catalog"] .catalog-sidebar > .card,
body[data-page="catalog"] .catalog-sidebar .card{
  min-height:calc(100% - 2px);
  border-radius:22px;
  box-shadow:0 22px 56px rgba(15,23,42,.18);
}
html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{transform:translateX(0) !important;}
body[data-page="catalog"] #catalog-filters-backdrop{
  position:fixed;
  inset:0;
  z-index:1340 !important;
  background:rgba(15,23,42,.46);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
body[data-page="catalog"] #catalog-filters-backdrop[hidden]{display:none !important;}
@media (min-width:1400px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:14px !important;}
}
@media (min-width:1100px) and (max-width:1399px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:14px !important;}
}
@media (min-width:981px) and (max-width:1099px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:12px !important;}
}
@media (max-width:980px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;}
}

/* v75 absolute final: stable product-card hover without any growth on add-to-cart */
.card.product-card,
.card.product-card:hover,
.card.product-card:focus-within{
  transform:none !important;
}
@media (hover:hover) and (pointer:fine){
  .card.product-card{
    transition:box-shadow .22s ease, border-color .22s ease, background-color .22s ease !important;
    will-change:auto !important;
  }
  .card.product-card:hover,
  .card.product-card:focus-within{
    transform:none !important;
    box-shadow:0 18px 36px rgba(15,23,42,.10) !important;
    border-color:rgba(227,30,36,.18) !important;
  }
}
.card.product-card .product-title{font-size:16px !important;line-height:1.35 !important;font-weight:600 !important;}

/* v75 absolute final: remove legacy similar-products and view counters from UI */
body[data-page="product"] #similar-grid,
body[data-page="product"] .similar-products,
body[data-page="product"] .similar-carousel,
body[data-page="product"] [data-similar-products]{display:none !important;}
body[data-page="article"] #article-views,
body[data-page="article"] .article-views,
body[data-page="blog"] .article-card .article-views,
body[data-page="blog"] .article-row .article-views{display:none !important;}


/* v77 absolute final: rebuilt release overrides */
body[data-page="catalog"] .catalog-layout{grid-template-columns:1fr !important;}
body[data-page="catalog"] .catalog-content{order:1;min-width:0;}
body[data-page="catalog"] .catalog-filter-toggle{display:inline-flex !important;align-items:center;gap:10px;justify-content:center;}
body[data-page="catalog"] #catalog-filters-close{display:inline-flex !important;}
body[data-page="catalog"] .catalog-sidebar{
  order:2;
  position:fixed !important;
  top:0 !important;
  right:0 !important;
  left:auto !important;
  bottom:0 !important;
  inset:0 0 0 auto !important;
  width:min(390px, calc(100vw - 20px)) !important;
  min-width:0 !important;
  padding:14px 12px calc(16px + env(safe-area-inset-bottom)) !important;
  background:transparent !important;
  overflow:auto !important;
  transform:translateX(108%) !important;
  transition:transform .28s ease !important;
  z-index:1350 !important;
}
body[data-page="catalog"] .catalog-sidebar > .card,
body[data-page="catalog"] .catalog-sidebar .card{
  min-height:calc(100% - 2px);
  border-radius:22px;
  box-shadow:0 22px 56px rgba(15,23,42,.18);
}
html.catalog-filters-open body[data-page="catalog"] .catalog-sidebar{transform:translateX(0) !important;}
body[data-page="catalog"] #catalog-filters-backdrop{
  position:fixed;
  inset:0;
  z-index:1340 !important;
  background:rgba(15,23,42,.46);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
body[data-page="catalog"] #catalog-filters-backdrop[hidden]{display:none !important;}
@media (min-width:1280px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:14px !important;}
}
@media (min-width:981px) and (max-width:1279px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:12px !important;}
}
@media (max-width:980px){
  body[data-page="catalog"] .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;}
}

.card.product-card,
.card.product-card:hover,
.card.product-card:focus-within{
  transform:none !important;
}
@media (hover:hover) and (pointer:fine){
  .card.product-card{
    transition:box-shadow .22s ease, border-color .22s ease, background-color .22s ease !important;
    will-change:auto !important;
  }
  .card.product-card:hover,
  .card.product-card:focus-within{
    transform:none !important;
    box-shadow:0 18px 36px rgba(15,23,42,.10) !important;
    border-color:rgba(227,30,36,.18) !important;
  }
}
.card.product-card .product-title{font-size:16px !important;line-height:1.35 !important;font-weight:600 !important;}

body[data-page="account"] .account-auth-benefits,
body[data-page="account"] .account-login-benefits,
body[data-page="account"] .account-auth-features,
body[data-page="account"] .account-auth-feature-grid,
body[data-page="account"] .account-auth-feature,
body[data-page="account"] .account-auth-grid,
body[data-page="account"] .account-login-grid,
body[data-page="account"] .auth-feature-grid,
body[data-page="account"] .auth-benefits-grid{display:none !important;}
body[data-page="account"] .auth-stage-shell,
body[data-page="account"] .auth-stage{min-height:0 !important;}
body[data-page="account"] .auth-hint{min-height:40px;}
body[data-page="account"] .auth-status{min-height:20px;}

body[data-page="product"] #similar-grid,
body[data-page="product"] .similar-products,
body[data-page="product"] .similar-carousel,
body[data-page="product"] [data-similar-products],
body[data-page="product"] #often-bought-grid,
body[data-page="product"] .often-bought,
body[data-page="product"] .often-bought-section{display:none !important;}
body[data-page="article"] #article-views,
body[data-page="article"] .article-views,
body[data-page="blog"] .article-card .article-views,
body[data-page="blog"] .article-row .article-views{display:none !important;}

.zs-video-shell,
.zs-video-shell video{background:#10141b !important;}
.zs-video-shell video{object-fit:cover !important;}


/* v77 rebuild: keep login screen minimal and remove any legacy cards under the auth form */
body[data-page="account"] #auth-block .account-auth-shell > :not(#phone-auth-panel){display:none !important;}
body[data-page="account"] #phone-auth-panel + *{display:none !important;}
body[data-page="account"] .account-summary:empty{display:none !important;}
body[data-page="account"] .account-auth-shell{align-items:start !important;}


/* v77 verified rebuild auth cleanup */
body[data-page="account"] #auth-block .pill,
body[data-page="account"] #auth-block .account-summary-card,
body[data-page="account"] #auth-block .account-summary-item,
body[data-page="account"] #auth-block .account-login-card,
body[data-page="account"] #auth-block .account-metric-card{display:none !important;}


/* v79 final polish: account auth layout, full header phones, video loader and blog visuals */
@media (min-width: 901px){
  body[data-page="account"] .account-auth-shell{
    max-width:720px !important;
    width:100% !important;
  }
  body[data-page="account"] .account-auth-card{
    min-height:520px !important;
  }
  body[data-page="account"] #phone-auth-panel .body{
    padding:34px 36px 38px !important;
  }
  body[data-page="account"] .auth-stage-shell{
    position:relative !important;
    min-height:392px !important;
  }
  body[data-page="account"] .auth-stage{
    position:absolute !important;
    inset:0 !important;
    min-height:0 !important;
  }
  body[data-page="account"] #phone-auth-title,
  body[data-page="account"] #phone-auth-title-code{
    font-size:clamp(34px, 3.8vw, 48px) !important;
    line-height:1.03 !important;
  }
}
@media (max-width: 900px){
  body[data-page="account"] .auth-stage-shell{
    position:static !important;
    min-height:0 !important;
  }
  body[data-page="account"] .auth-stage{
    position:static !important;
    inset:auto !important;
    display:none !important;
  }
  body[data-page="account"] .auth-stage.is-active{
    display:grid !important;
  }
}

.topbar-phones{
  gap:10px !important;
  flex-wrap:wrap !important;
}
.topbar-phone-link{
  min-width:0 !important;
  padding:0 14px !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
}
@media (max-width: 1200px){
  .topbar-phone-link{
    font-size:12px !important;
    padding:0 12px !important;
  }
}

.zs-video-shell{
  position:relative !important;
  overflow:hidden !important;
  background-image:var(--video-poster), linear-gradient(135deg, #111827, #1f2937 55%, #7f1d1d 120%) !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}
.zs-video-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.16));
  pointer-events:none;
  z-index:1;
}
.zs-video-shell .zs-video{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  background:transparent !important;
  z-index:2 !important;
}
.zs-video-shell .zs-spinner{
  position:absolute !important;
  inset:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(180deg, rgba(15,23,42,.18), rgba(15,23,42,.32)) !important;
  z-index:3 !important;
}
.zs-video-shell.loading .zs-spinner{opacity:1 !important;}
.zs-video-shell.loaded .zs-spinner{opacity:0 !important;}
.zs-video-shell.loading .zs-video{opacity:.56 !important;}
.zs-video-shell.loaded .zs-video{opacity:1 !important;}
.zs-video-shell.is-fallback .zs-spinner{opacity:1 !important;}

body[data-page="blog"] #blog-grid{
  grid-template-columns:repeat(auto-fit, minmax(290px, 1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}
body[data-page="blog"] .blog-center{
  max-width:1280px;
  margin:0 auto;
}
body[data-page="blog"] .article-card,
body[data-page="home"] .home-articles-grid .article-card{
  border-radius:26px !important;
  overflow:hidden !important;
  border:1px solid rgba(226,232,240,.9) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98)) !important;
  box-shadow:0 18px 42px rgba(15,23,42,.06) !important;
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease !important;
}
body[data-page="blog"] .article-card .media,
body[data-page="home"] .home-articles-grid .article-card .media{
  display:block;
  aspect-ratio:16 / 10;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(15,23,42,.08), rgba(227,30,36,.08));
}
body[data-page="blog"] .article-card .media img,
body[data-page="home"] .home-articles-grid .article-card .media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .32s ease;
}
body[data-page="blog"] .article-card .body,
body[data-page="home"] .home-articles-grid .article-card .body{
  display:grid !important;
  gap:14px;
  padding:18px 20px 20px !important;
}
body[data-page="blog"] .article-card .meta,
body[data-page="home"] .home-articles-grid .article-card .meta{
  display:flex;
  align-items:center;
  gap:8px;
}
body[data-page="blog"] .article-card .meta .pill,
body[data-page="home"] .home-articles-grid .article-card .meta .pill{
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(227,30,36,.14);
  background:rgba(227,30,36,.08);
  color:#991b1b;
  font-size:12px;
  font-weight:800;
}
body[data-page="blog"] .article-card .title,
body[data-page="home"] .home-articles-grid .article-card .title{
  color:#0f172a;
  font-size:22px !important;
  line-height:1.24 !important;
  font-weight:800 !important;
  min-height:calc(2 * 1.24em);
}
body[data-page="blog"] .article-card .actions,
body[data-page="home"] .home-articles-grid .article-card .actions{
  margin-top:auto;
}
body[data-page="blog"] .article-card .actions .btn,
body[data-page="home"] .home-articles-grid .article-card .actions .btn{
  min-height:46px;
  border-radius:16px;
  padding:0 18px;
  opacity:.96 !important;
}
@media (hover:hover) and (pointer:fine){
  body[data-page="blog"] .article-card:hover,
  body[data-page="home"] .home-articles-grid .article-card:hover{
    transform:translateY(-6px) !important;
    box-shadow:0 24px 52px rgba(15,23,42,.10) !important;
    border-color:rgba(227,30,36,.18) !important;
  }
  body[data-page="blog"] .article-card:hover .media img,
  body[data-page="home"] .home-articles-grid .article-card:hover .media img{
    transform:scale(1.04);
  }
}
@media (max-width: 640px){
  body[data-page="blog"] #blog-grid{
    gap:14px !important;
  }
  body[data-page="blog"] .article-card .body,
  body[data-page="home"] .home-articles-grid .article-card .body{
    padding:14px 14px 16px !important;
  }
  body[data-page="blog"] .article-card .title,
  body[data-page="home"] .home-articles-grid .article-card .title{
    font-size:18px !important;
  }
}


/* v79 polish: account/login, videos, blog, admin */
body[data-page="account"] .account-auth-shell{max-width:760px !important;}
body[data-page="account"] .account-auth-card{overflow:visible !important; min-height:0 !important;}
body[data-page="account"] #phone-auth-panel .body{padding:34px 38px 38px !important;}
body[data-page="account"] .auth-stage-shell{position:static !important; min-height:0 !important; display:grid !important; gap:0 !important;}
body[data-page="account"] .auth-stage{position:static !important; inset:auto !important; display:none !important; min-height:0 !important;}
body[data-page="account"] .auth-stage.is-active{display:grid !important;}
body[data-page="account"] .auth-stage--code{padding-bottom:4px;}
body[data-page="account"] .account-auth-copy h2{font-size:clamp(34px, 4.2vw, 58px) !important; line-height:1.04 !important;}
body[data-page="account"] .account-hero-card--compact{padding:24px 26px !important; gap:18px !important;}
body[data-page="account"] .account-profile-hero--compact{padding:18px 20px !important; min-height:0 !important;}
body[data-page="account"] .account-profile-hero--compact .account-profile-hero__chips{margin-top:10px !important;}
body[data-page="account"] .account-profile-card__value--phone,
body[data-page="account"] .account-hero-stat__value--phone{white-space:nowrap !important; word-break:normal !important; overflow-wrap:normal !important; font-size:clamp(24px, 2.2vw, 34px) !important;}
body[data-page="account"] .account-hero-stat__value--phone{line-height:1.1 !important;}
@media (max-width: 900px){
  body[data-page="account"] .account-auth-shell{max-width:100% !important;}
  body[data-page="account"] #phone-auth-panel .body{padding:24px 18px 22px !important;}
  body[data-page="account"] .account-auth-copy h2{font-size:34px !important;}
}

.zs-video-shell,
.zs-video-shell video{background:transparent !important;}
.zs-video-shell{background-image:none !important;}
.zs-video-shell::before,
.zs-video-shell .zs-spinner{display:none !important;}
.zs-video-shell.loading .zs-video,
.zs-video-shell.loaded .zs-video,
.zs-video-shell.is-fallback .zs-video{opacity:1 !important;}
.zs-video-shell .zs-video{position:relative !important; inset:auto !important; width:100% !important; height:100% !important; display:block !important; object-fit:cover !important;}

body[data-page="blog"] .article-card,
body[data-page="home"] .home-articles-grid .article-card{
  border-radius:24px !important;
  border:1px solid rgba(226,232,240,.9) !important;
  box-shadow:0 16px 34px rgba(15,23,42,.05) !important;
  background:linear-gradient(180deg,#fff,rgba(248,250,252,.98)) !important;
}
body[data-page="blog"] .article-card:hover,
body[data-page="home"] .home-articles-grid .article-card:hover{
  transform:translateY(-4px) scale(1.01) !important;
  box-shadow:0 24px 48px rgba(15,23,42,.10) !important;
}
body[data-page="blog"] .article-card .body,
body[data-page="home"] .home-articles-grid .article-card .body{gap:12px !important; padding:16px 18px 18px !important;}
body[data-page="blog"] .article-card .title,
body[data-page="home"] .home-articles-grid .article-card .title{font-size:22px !important; line-height:1.16 !important;}

.product-detail-actions{display:flex !important; flex-wrap:wrap !important; gap:12px !important; align-items:center !important;}
.product-cart-widget--detail{min-width:min(100%, 340px) !important;}
.product-cart-widget--detail .product-cart-btn,
.product-cart-widget--detail .product-cart-controls{width:100% !important;}
.product-cart-widget--detail .product-cart-controls{justify-content:space-between !important;}

body[data-page="admin"] #admin-login{max-width:760px !important; margin:24px auto !important;}
body[data-page="admin"] .admin-login-card-modern{padding:34px !important; border-radius:28px !important; background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(254,242,242,.96)) !important; border:1px solid rgba(227,30,36,.14) !important; box-shadow:0 22px 44px rgba(15,23,42,.08) !important;}
body[data-page="admin"] .admin-shell{border-radius:32px !important; overflow:hidden !important; box-shadow:0 26px 56px rgba(15,23,42,.10) !important;}
body[data-page="admin"] .admin-sidebar{background:linear-gradient(180deg, #0f172a, #111827 48%, #1f2937) !important;}
body[data-page="admin"] .admin-topbar{backdrop-filter:blur(18px) !important; background:rgba(255,255,255,.82) !important;}
body[data-page="admin"] .admin-main{background:linear-gradient(180deg, rgba(248,250,252,.96), rgba(255,255,255,.98)) !important;}
body[data-page="admin"] .table th{font-size:12px !important; text-transform:uppercase; letter-spacing:.04em;}
body[data-page="admin"] .table td{vertical-align:middle;}
@media (max-width: 900px){
  body[data-page="admin"] .admin-login-card-modern{padding:22px !important; border-radius:22px !important;}
}

/* v81: compact account cabinet, exact PDP cart widget, stricter admin access, video without spinner */
body[data-page="account"] .account-dashboard{
  display:grid;
  gap:12px;
}
body[data-page="account"] .account-page-head .sub,
body[data-page="account"] .account-profile-hero__subtitle,
body[data-page="account"] .account-hero-card__text,
body[data-page="account"] .account-profile-card__meta,
body[data-page="account"] .account-order-card__meta,
body[data-page="account"] .account-doc-row,
body[data-page="account"] .muted{
  overflow-wrap:anywhere;
}
body[data-page="account"] .account-auth-shell{
  width:min(100%, 780px) !important;
  max-width:780px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  align-items:stretch !important;
}
body[data-page="account"] .account-auth-card{
  width:100% !important;
  overflow:visible !important;
  min-height:auto !important;
  height:auto !important;
  border-radius:28px !important;
}
body[data-page="account"] .account-auth-card .body{
  padding:28px !important;
}
body[data-page="account"] .account-auth-topbar{
  margin-bottom:18px !important;
  gap:12px !important;
}
body[data-page="account"] .account-auth-copy h2{
  font-size:clamp(34px, 5vw, 56px) !important;
  line-height:1.02 !important;
  margin:0 0 10px !important;
}
body[data-page="account"] .account-auth-copy .muted{
  font-size:16px !important;
  line-height:1.55 !important;
  max-width:620px !important;
}
body[data-page="account"] .account-auth-field,
body[data-page="account"] .auth-phone-preview{
  margin-top:14px !important;
}
body[data-page="account"] .auth-phone-preview,
body[data-page="account"] .account-auth-field input{
  min-height:56px !important;
}
body[data-page="account"] .account-auth-field input{
  font-size:20px !important;
}
body[data-page="account"] .auth-timer-row,
body[data-page="account"] .auth-stage-footer,
body[data-page="account"] .auth-actions{
  margin-top:16px !important;
}
body[data-page="account"] .auth-timer-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}
body[data-page="account"] .auth-actions .btn{
  min-width:220px !important;
}
body[data-page="account"] .account-summary{
  display:block !important;
  margin-bottom:0 !important;
}
body[data-page="account"] .account-hero-card{
  display:grid !important;
  grid-template-columns:minmax(0, 1.4fr) minmax(320px, .9fr) !important;
  gap:18px !important;
  align-items:stretch !important;
  padding:18px 20px !important;
  border-radius:24px !important;
}
body[data-page="account"] .account-hero-card__title,
body[data-page="account"] .account-profile-hero__name{
  font-size:clamp(28px, 3vw, 42px) !important;
  line-height:1.04 !important;
  margin:0 0 10px !important;
  overflow-wrap:anywhere;
}
body[data-page="account"] .account-hero-card__side{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:10px !important;
}
body[data-page="account"] .account-hero-stat,
body[data-page="account"] .account-profile-card{
  min-width:0 !important;
  padding:14px 16px !important;
  border-radius:18px !important;
}
body[data-page="account"] .account-hero-stat__value{
  font-size:clamp(18px, 2.4vw, 34px) !important;
  line-height:1.08 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
body[data-page="account"] .account-hero-stat__value--phone,
body[data-page="account"] .account-profile-card__value--phone{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  word-break:normal !important;
}
body[data-page="account"] .account-tabs-modern{
  padding:10px !important;
  gap:8px !important;
}
body[data-page="account"] .account-tabs-modern .tab{
  min-height:44px !important;
}
body[data-page="account"] .account-section-card .body{
  padding:18px !important;
}
body[data-page="account"] .account-profile-shell,
body[data-page="account"] .account-profile-shell--edit{
  gap:14px !important;
}
body[data-page="account"] .account-profile-hero{
  padding:18px !important;
  border-radius:22px !important;
}
body[data-page="account"] .account-profile-grid,
body[data-page="account"] .account-profile-editor{
  gap:12px !important;
}
body[data-page="account"] .account-profile-card__value{
  font-size:clamp(18px, 2vw, 30px) !important;
  line-height:1.18 !important;
  overflow-wrap:anywhere !important;
}
body[data-page="account"] .account-order-card__head,
body[data-page="account"] .account-order-card__meta,
body[data-page="account"] .account-doc-row,
body[data-page="account"] #addresses-list > div{
  min-width:0 !important;
}
body[data-page="account"] #profile-view input,
body[data-page="account"] #profile-view textarea{
  min-width:0 !important;
}
body[data-page="account"] .account-profile-actions{
  margin-top:14px !important;
}
body[data-page="account"] .account-profile-actions .btn{
  min-width:160px !important;
}
@media (max-width: 960px){
  body[data-page="account"] .account-hero-card{
    grid-template-columns:1fr !important;
  }
}
@media (max-width: 720px){
  body[data-page="account"] .account-auth-card .body{
    padding:20px !important;
  }
  body[data-page="account"] .account-auth-copy h2{
    font-size:34px !important;
  }
  body[data-page="account"] .account-auth-field input{
    font-size:18px !important;
  }
  body[data-page="account"] .auth-actions .btn{
    width:100% !important;
    min-width:0 !important;
  }
  body[data-page="account"] .account-hero-card__side,
  body[data-page="account"] .account-profile-grid,
  body[data-page="account"] .account-profile-editor{
    grid-template-columns:1fr !important;
  }
  body[data-page="account"] .account-profile-card--wide,
  body[data-page="account"] .account-profile-field--wide{
    grid-column:auto !important;
  }
}

.product-detail-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:12px !important;
}
.product-detail-actions .product-cart-widget{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:220px !important;
  max-width:240px !important;
}
.product-detail-actions .product-cart-btn,
.product-detail-actions .product-cart-controls{
  width:100% !important;
}
.product-detail-actions .product-cart-controls{
  justify-content:space-between !important;
}
.product-detail-actions .product-cart-widget .product-cart-control__count{
  min-width:28px !important;
  text-align:center !important;
}

.zs-video-shell,
.zs-video-shell video{
  background:transparent !important;
}
.zs-video-shell::before,
.zs-video-shell .zs-spinner{
  display:none !important;
  content:none !important;
}
.zs-video-shell.loading .zs-video,
.zs-video-shell.loaded .zs-video,
.zs-video-shell.is-fallback .zs-video{
  opacity:1 !important;
}
.zs-video-shell .zs-video{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
}

body[data-page="admin"] .admin-shell{
  border-radius:28px !important;
}
body[data-page="admin"] .admin-main,
body[data-page="admin"] .admin-sidebar,
body[data-page="admin"] .admin-topbar,
body[data-page="admin"] .admin-search input,
body[data-page="admin"] .admin-save-status,
body[data-page="admin"] .admin-profile,
body[data-page="admin"] .admin-user-mini,
body[data-page="admin"] .table td,
body[data-page="admin"] .table th{
  min-width:0 !important;
  overflow-wrap:anywhere;
}


/* v81: minimal account layout, stable auth card, shared PDP cart widget, admin-entry */
body[data-page="account"] .account-page-head{margin-bottom:12px !important;}
body[data-page="account"] .account-auth-shell{width:min(100%, 640px) !important; max-width:640px !important;}
body[data-page="account"] .account-auth-card{border-radius:26px !important; overflow:hidden !important;}
body[data-page="account"] .account-auth-card .body{padding:24px !important;}
body[data-page="account"] .account-auth-topbar{display:flex !important; align-items:center !important; justify-content:space-between !important; gap:12px !important; margin-bottom:16px !important;}
body[data-page="account"] .account-auth-topbar__badge{font-size:12px !important; letter-spacing:.06em !important;}
body[data-page="account"] .account-auth-copy h2{font-size:clamp(28px,4vw,44px) !important; line-height:1.06 !important; margin:0 0 10px !important;}
body[data-page="account"] .account-auth-copy .muted{font-size:15px !important; line-height:1.5 !important; max-width:none !important;}
body[data-page="account"] .account-auth-field input,
body[data-page="account"] .auth-phone-preview{min-height:52px !important; font-size:18px !important;}
body[data-page="account"] .auth-actions .btn{min-width:0 !important; width:100% !important;}
body[data-page="account"] .account-dashboard{display:grid !important; gap:14px !important;}
body[data-page="account"] .account-summary{display:none !important;}
body[data-page="account"] .account-tabs-modern--minimal{display:flex !important; flex-wrap:wrap !important; gap:8px !important; padding:8px !important; border-radius:22px !important; background:#fff !important; border:1px solid rgba(15,23,42,.08) !important; box-shadow:0 10px 24px rgba(15,23,42,.04) !important;}
body[data-page="account"] .account-tabs-modern--minimal .tab{min-height:42px !important; padding:0 18px !important; border-radius:14px !important;}
body[data-page="account"] .account-section-card{border-radius:24px !important; overflow:hidden !important;}
body[data-page="account"] .account-section-card .body{padding:20px !important;}
body[data-page="account"] .account-profile-actions{margin-top:14px !important; display:flex !important; gap:10px !important;}
body[data-page="account"] .account-profile-minimal{display:block;}
body[data-page="account"] .account-profile-minimal__card{border:1px solid rgba(15,23,42,.08); border-radius:22px; background:linear-gradient(180deg,#fff,rgba(248,250,252,.95)); padding:18px;}
body[data-page="account"] .account-profile-minimal__eyebrow{display:inline-flex; align-items:center; min-height:28px; padding:0 12px; border-radius:999px; background:rgba(226,232,240,.72); color:#64748b; font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; margin-bottom:14px;}
body[data-page="account"] .account-profile-minimal__grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
body[data-page="account"] .account-profile-minimal__item{min-width:0; border:1px solid rgba(15,23,42,.08); border-radius:18px; background:#fff; padding:16px 18px;}
body[data-page="account"] .account-profile-minimal__item--wide{grid-column:1 / -1;}
body[data-page="account"] .account-profile-minimal__label{font-size:12px; line-height:1.4; letter-spacing:.04em; text-transform:uppercase; font-weight:800; color:#64748b; margin-bottom:10px;}
body[data-page="account"] .account-profile-minimal__value{font-size:clamp(18px,2.2vw,30px); line-height:1.22; font-weight:800; color:#0f172a; overflow-wrap:anywhere;}
body[data-page="account"] .account-profile-minimal__value--phone{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; word-break:normal;}
body[data-page="account"] .account-profile-editor--minimal{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
body[data-page="account"] .account-profile-editor--minimal .account-profile-field{margin:0 !important;}
body[data-page="account"] .account-profile-editor--minimal .account-profile-field--wide{grid-column:1 / -1;}
body[data-page="account"] .account-order-card__sum,
body[data-page="account"] .account-order-card__id,
body[data-page="account"] .account-order-card__meta,
body[data-page="account"] .account-doc-row,
body[data-page="account"] #favorites-grid .title,
body[data-page="account"] #favorites-grid .price{overflow-wrap:anywhere;}
@media (max-width: 720px){
  body[data-page="account"] .account-auth-card .body{padding:18px !important;}
  body[data-page="account"] .account-auth-copy h2{font-size:32px !important;}
  body[data-page="account"] .account-profile-minimal__grid,
  body[data-page="account"] .account-profile-editor--minimal{grid-template-columns:1fr;}
  body[data-page="account"] .account-tabs-modern--minimal{padding:8px !important;}
  body[data-page="account"] .account-tabs-modern--minimal .tab{flex:1 1 calc(50% - 8px) !important;}
}

.product-detail-actions .product-cart-widget{width:100% !important; max-width:320px !important; min-width:220px !important;}
.product-detail-actions .product-cart-btn--add[hidden]{display:none !important;}
.product-detail-actions .product-cart-controls{
  width:100% !important;
  min-height:46px !important;
  display:grid !important;
  grid-template-columns:42px 1fr 42px 44px !important;
  align-items:center !important;
  background:linear-gradient(180deg, #f5232c, #e31e24) !important;
  color:#fff !important;
  border-radius:14px !important;
  overflow:hidden !important;
  box-shadow:0 12px 24px rgba(227,30,36,.22) !important;
}
.product-detail-actions .product-cart-controls[hidden]{display:none !important;}
.product-detail-actions .product-cart-control{
  min-height:46px !important;
  border:none !important;
  background:transparent !important;
  color:inherit !important;
  display:grid !important;
  place-items:center !important;
  font-size:22px !important;
  font-weight:700 !important;
  cursor:pointer !important;
  transition:background .18s ease, opacity .18s ease, transform .18s ease !important;
}
.product-detail-actions .product-cart-control:hover{background:rgba(255,255,255,.12) !important;}
.product-detail-actions .product-cart-control:active{transform:scale(.98) !important;}
.product-detail-actions .product-cart-control:disabled{opacity:.45 !important; cursor:not-allowed !important; background:transparent !important;}
.product-detail-actions .product-cart-control__count{min-width:0 !important; text-align:center !important; font-size:15px !important; font-weight:900 !important; letter-spacing:.02em !important; font-variant-numeric:tabular-nums !important; padding:0 10px !important;}
.product-detail-actions .product-cart-control--remove{border-left:1px solid rgba(255,255,255,.18) !important;}
.product-detail-actions .product-cart-control__trash{width:16px !important; height:16px !important; display:block !important; background:currentColor !important; -webkit-mask:url('/assets/icons/trash.svg') center / contain no-repeat !important; mask:url('/assets/icons/trash.svg') center / contain no-repeat !important;}
@media (max-width:640px){
  .product-detail-actions .product-cart-controls{min-height:42px !important; grid-template-columns:38px 1fr 38px 40px !important;}
  .product-detail-actions .product-cart-control{min-height:42px !important; font-size:20px !important;}
  .product-detail-actions .product-cart-control__count{font-size:14px !important;}
}

body[data-page="admin-entry"] .card{border-radius:24px !important; box-shadow:0 18px 44px rgba(15,23,42,.08) !important;}

/* v82: robust account auth/dashboard switching + cleaner compact profile */
body[data-page="account"] #auth-block[hidden],
body[data-page="account"] #account-block[hidden]{
  display:none !important;
}
body[data-page="account"]:not(.account-is-auth) #auth-block{
  display:grid !important;
}
body[data-page="account"]:not(.account-is-auth) #account-block,
body[data-page="account"]:not(.account-is-auth) .account-dashboard{
  display:none !important;
}
body[data-page="account"].account-is-auth #auth-block{
  display:none !important;
}
body[data-page="account"].account-is-auth #account-block,
body[data-page="account"].account-is-auth .account-dashboard{
  display:grid !important;
}
body[data-page="account"] .auth-hint[hidden]{display:none !important;}
body[data-page="account"] .account-auth-shell{
  width:min(100%, 620px) !important;
  max-width:620px !important;
}
body[data-page="account"] .account-auth-card .body{
  padding:22px !important;
}
body[data-page="account"] .account-tabs-modern--minimal{
  gap:6px !important;
  padding:6px !important;
  border-radius:18px !important;
}
body[data-page="account"] .account-tabs-modern--minimal .tab{
  min-height:40px !important;
  padding:0 16px !important;
  border-radius:12px !important;
}
body[data-page="account"] .account-section-card{
  border-radius:20px !important;
}
body[data-page="account"] .account-section-card .body{
  padding:16px !important;
}
body[data-page="account"] .account-profile-actions{
  margin-top:12px !important;
}
body[data-page="account"] .account-profile-compact{
  display:block;
}
body[data-page="account"] .account-profile-compact__card{
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:#fff;
  padding:14px;
}
body[data-page="account"] .account-profile-compact__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(226,232,240,.76);
  color:#64748b;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:12px;
}
body[data-page="account"] .account-profile-compact__rows{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body[data-page="account"] .account-profile-compact__row{
  min-width:0;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  background:linear-gradient(180deg,#fff,rgba(248,250,252,.92));
  padding:12px 14px;
}
body[data-page="account"] .account-profile-compact__row--wide{
  grid-column:1 / -1;
}
body[data-page="account"] .account-profile-compact__label{
  font-size:11px;
  line-height:1.4;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:800;
  color:#64748b;
  margin-bottom:8px;
}
body[data-page="account"] .account-profile-compact__value{
  min-width:0;
  font-size:18px;
  line-height:1.28;
  font-weight:700;
  color:#0f172a;
  overflow-wrap:anywhere;
}
body[data-page="account"] .account-profile-compact__value--phone{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  word-break:normal;
}
body[data-page="account"] .account-profile-editor--minimal{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body[data-page="account"] .account-profile-editor--minimal input{
  min-height:48px !important;
}
@media (max-width: 720px){
  body[data-page="account"] .account-profile-compact__rows,
  body[data-page="account"] .account-profile-editor--minimal{
    grid-template-columns:1fr;
  }
  body[data-page="account"] .account-profile-compact__value{
    font-size:16px;
  }
}


/* v84 account/admin/forms/video stability */
html.zs-has-session body[data-page="account"] #auth-block{display:none !important;}
html:not(.account-auth-resolved) body[data-page="account"] #auth-block,
html:not(.account-auth-resolved) body[data-page="account"] #account-block{display:none !important;}
body[data-page="account"]:not(.account-is-auth) .account-dashboard,
body[data-page="account"]:not(.account-is-auth) #account-block{display:none !important;}
body[data-page="account"].account-is-auth #auth-block{display:none !important;}
body[data-page="account"] .account-auth-shell{max-width:620px !important;}
body[data-page="account"] .account-auth-card{overflow:visible !important; min-height:auto !important;}
body[data-page="account"] #phone-auth-panel .body{padding:28px 30px 26px !important;}
body[data-page="account"] .auth-stage-shell{display:block;}
body[data-page="account"] .auth-phone-preview{min-height:52px; display:flex; align-items:center; padding:0 18px; border-radius:18px; border:1px solid rgba(15,23,42,.08); background:#fff; margin:10px 0 14px; font-weight:700; color:#0f172a;}
body[data-page="account"] .auth-status{min-height:0 !important; margin-top:8px;}
body[data-page="account"] .auth-status:empty{display:none !important;}
body[data-page="account"] .auth-stage-footer{gap:12px;}
body[data-page="account"] .account-auth-copy .muted{max-width:38ch;}
body[data-page="account"] .account-tabs-modern{gap:10px; padding:8px !important;}
body[data-page="account"] .account-tabs-modern .tab{min-height:42px !important; padding:0 16px !important;}
body[data-page="account"] .account-section-card{border-radius:22px !important;}
body[data-page="account"] .account-section-card > .body{padding:18px !important;}
body[data-page="account"] .account-profile-actions{margin-top:14px !important;}
body[data-page="account"] .account-profile-actions .btn{min-height:42px;}
body[data-page="account"] .account-profile-compact__card{padding:16px !important; border-radius:20px !important;}
body[data-page="account"] .account-profile-compact__head{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px;}
body[data-page="account"] .account-profile-compact__title{margin:6px 0 0; font-size:22px; line-height:1.05; font-weight:900; color:#0f172a;}
body[data-page="account"] .account-profile-compact__rows{grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px !important;}
body[data-page="account"] .account-profile-compact__row{padding:12px 14px !important; min-height:94px; display:flex; flex-direction:column; justify-content:flex-start;}
body[data-page="account"] .account-profile-compact__row--wide{min-height:82px;}
body[data-page="account"] .account-profile-compact__value{font-size:17px !important; line-height:1.28 !important; word-break:break-word; overflow-wrap:anywhere;}
body[data-page="account"] .account-profile-compact__value--phone{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
body[data-page="account"] .account-profile-editor--minimal{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px !important; align-items:start;}
body[data-page="account"] .account-profile-field{min-height:98px; display:flex; flex-direction:column;}
body[data-page="account"] .account-profile-field--wide{grid-column:1 / -1;}
body[data-page="account"] .account-profile-field input{min-height:48px !important;}
body[data-page="account"] .account-profile-field .field-error{min-height:18px !important; margin-top:6px !important;}
.field{align-content:start;}
.field-error{display:block !important; min-height:18px !important; line-height:1.35 !important;}
body[data-page="checkout"] .field,
body[data-page="service"] .field,
body[data-page="contacts"] .field,
body[data-page="account"] .field{min-height:98px; display:flex; flex-direction:column; justify-content:flex-start;}
body[data-page="checkout"] textarea,
body[data-page="service"] textarea{min-height:132px;}
.product-detail-actions .product-cart-widget{width:100% !important; max-width:280px !important; min-width:0 !important;}
.product-detail-actions .product-cart-btn,
.product-detail-actions .product-cart-controls{min-height:42px !important; border-radius:14px !important; width:100% !important;}
.product-detail-actions .product-cart-controls{grid-template-columns:38px 1fr 38px 40px !important; background:linear-gradient(180deg,#e31e24,#cf1a20) !important; border:none !important; box-shadow:0 14px 26px rgba(227,30,36,.22) !important;}
.product-detail-actions .product-cart-control{min-height:42px !important; font-size:20px !important;}
.product-detail-actions .product-cart-control:hover{transform:none !important; box-shadow:none !important; background:rgba(255,255,255,.12) !important;}
.product-detail-actions .product-cart-control__count{font-size:14px !important; font-weight:900 !important;}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow,
.service-gallery-lightbox__arrow,
.service-gallery-lightbox__close{transition:box-shadow .18s ease, background .18s ease, border-color .18s ease !important; transform:none !important;}
body[data-page="service"] [data-carousel="service-gallery"] .carousel-arrow:hover,
.service-gallery-lightbox__arrow:hover,
.service-gallery-lightbox__close:hover{transform:none !important; box-shadow:0 16px 32px rgba(15,23,42,.18) !important;}
.zs-video-shell,.zs-video-shell video{background:transparent !important;}
.zs-video-shell::before,.zs-video-shell .zs-spinner{display:none !important; content:none !important;}
.zs-video-shell.loading .zs-video,.zs-video-shell.loaded .zs-video,.zs-video-shell.is-fallback .zs-video{opacity:1 !important;}
@media (max-width: 900px){
  body[data-page="account"] #phone-auth-panel .body{padding:24px 20px 22px !important;}
  body[data-page="account"] .account-profile-compact__rows,
  body[data-page="account"] .account-profile-editor--minimal{grid-template-columns:1fr !important;}
}

/* v84 account/admin persistence and layout stability */
html:not(.account-auth-resolved) body[data-page="account"] #auth-block,
html:not(.account-auth-resolved) body[data-page="account"] #account-block{
  display:none !important;
}
body[data-page="account"] #auth-block[hidden],
body[data-page="account"] #account-block[hidden]{
  display:none !important;
}
body[data-page="account"] .account-dashboard{
  gap:14px;
}
body[data-page="account"] .account-tabs-modern--minimal{
  padding:8px;
  gap:8px;
  border-radius:20px;
}
body[data-page="account"] .account-section-card > .body{
  padding:20px 22px;
}
body[data-page="account"] .account-profile-actions{
  display:flex;
  gap:10px;
  margin-top:14px;
}
body[data-page="account"] .account-profile-slim__card{
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(249,250,253,.96) 58%, rgba(244,224,225,.78) 100%);
  padding:18px;
  box-shadow:0 18px 46px rgba(15,23,42,.06);
}
body[data-page="account"] .account-profile-slim__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
body[data-page="account"] .account-profile-slim__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:#ef4444;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(239,68,68,.18);
}
body[data-page="account"] .account-profile-slim__title{
  margin:10px 0 0;
  font-size:26px;
  line-height:1.05;
}
body[data-page="account"] .account-profile-slim__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
body[data-page="account"] .account-profile-slim__item{
  min-width:0;
  border:1px solid rgba(148,163,184,.22);
  border-radius:18px;
  background:rgba(255,255,255,.82);
  padding:14px 16px;
}
body[data-page="account"] .account-profile-slim__item--wide{
  grid-column:1 / -1;
}
body[data-page="account"] .account-profile-slim__label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:#64748b;
  margin-bottom:7px;
}
body[data-page="account"] .account-profile-slim__value{
  min-width:0;
  font-size:22px;
  font-weight:800;
  color:#0f172a;
  line-height:1.15;
  overflow:hidden;
  text-overflow:ellipsis;
  word-break:break-word;
}
body[data-page="account"] .account-profile-slim__value--nowrap{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body[data-page="account"] .account-profile-editor--minimal{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
body[data-page="account"] .account-profile-field,
body[data-page="checkout"] .field,
body[data-page="service"] .field{
  min-width:0;
}
body[data-page="account"] .account-profile-field--wide{
  grid-column:1 / -1;
}
body[data-page="account"] .account-profile-field input,
body[data-page="account"] .account-profile-field textarea,
body[data-page="checkout"] .field input,
body[data-page="checkout"] .field textarea,
body[data-page="service"] .field input,
body[data-page="service"] .field textarea{
  min-height:52px;
}
body[data-page="account"] .field-error,
body[data-page="checkout"] .field-error,
body[data-page="service"] .field-error{
  display:block;
  min-height:18px;
  margin-top:6px;
  line-height:1.3;
}
body[data-page="account"] .auth-phone-preview{
  min-height:44px;
  display:flex;
  align-items:center;
}
body[data-page="account"] .auth-status{
  min-height:18px;
}
body[data-page="account"] .account-order-card__head,
body[data-page="account"] .account-order-card__meta,
body[data-page="account"] .account-doc-row{
  min-width:0;
}
body[data-page="account"] .account-order-card__sum,
body[data-page="account"] .account-order-card__id,
body[data-page="account"] .account-order-card__meta span,
body[data-page="account"] .account-doc-row div,
body[data-page="account"] .account-doc-row a{
  min-width:0;
  word-break:break-word;
}
@media (max-width: 960px){
  body[data-page="account"] .account-profile-slim__grid,
  body[data-page="account"] .account-profile-editor--minimal{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 680px){
  body[data-page="account"] .account-section-card > .body{
    padding:16px;
  }
  body[data-page="account"] .account-profile-slim__card{
    padding:14px;
    border-radius:18px;
  }
  body[data-page="account"] .account-profile-slim__title{
    font-size:22px;
  }
  body[data-page="account"] .account-profile-slim__grid,
  body[data-page="account"] .account-profile-editor--minimal{
    grid-template-columns:minmax(0,1fr);
  }
  body[data-page="account"] .account-profile-slim__value{
    font-size:18px;
  }
}
