.js-ostu-shop-main .ostu-skeleton {
gap: var(--space-16, 16px);
margin: var(--space-24, 24px) 0 0;
}
@media (max-width: 768px) {
.js-ostu-shop-main .ostu-skeleton {
gap: var(--space-12, 12px);
margin-top: 18px;
}
}
@media (max-width: 480px) {
.js-ostu-shop-main .ostu-skeleton { gap: 10px; }
}
.js-ostu-shop-main .ostu-skeleton__card {
display: flex;
flex-direction: column;
height: var(--ostu-fb-card-h, auto);
}
.js-ostu-shop-main .ostu-skeleton__img {
flex: none;
}
.js-ostu-shop-main .ostu-skeleton__body {
padding: 14px;
gap: 7px;
flex: 1 1 auto;
min-height: var(--ostu-fb-skel-floor, 262px);
}
@media (max-width: 768px) {
.js-ostu-shop-main .ostu-skeleton__body { padding: var(--space-12, 12px); gap: 6px; }
}
@media (max-width: 480px) {
.js-ostu-shop-main .ostu-skeleton__body { padding: 11px; }
}
.js-ostu-shop-main .ostu-skeleton__line--title { width: 92%; height: 13px; }
.js-ostu-shop-main .ostu-skeleton__line--sub   { width: 62%; height: 13px; }
.js-ostu-shop-main .ostu-skeleton__line--price {
width: 45%;
height: 22px;
margin-top: auto;
}
.js-ostu-shop-main .ostu-skeleton__body::after {
content: "";
flex: none;
width: 100%;
height: 44px;
border-radius: var(--radius, 12px);
background: rgba(37, 99, 235, .12);
animation: ostu-fb-breathe 1.9s ease-in-out infinite;
}
@supports (background: color-mix(in srgb, red 10%, transparent)) {
.js-ostu-shop-main .ostu-skeleton__body::after {
background: color-mix(in srgb, var(--green, #2563eb) 12%, transparent);
}
}
@keyframes ostu-fb-breathe {
0%, 100% { opacity: 1; }
50%      { opacity: .55; }
}
.ostu-fb-progress {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 4px;
z-index: var(--z-toast, 1200);
pointer-events: none;
opacity: 0;
transition: opacity .2s ease .12s;
}
.ostu-fb-progress.is-active {
opacity: 1;
transition-delay: 0s;
}
.ostu-fb-progress__bar {
display: block;
height: 100%;
width: 0;
border-radius: 0 2px 2px 0;
background: linear-gradient(90deg, var(--green, #2563eb), var(--green-bright, #60a5fa));
box-shadow: 0 0 10px rgba(37, 99, 235, .55), 0 1px 4px rgba(37, 99, 235, .35);
transition: width .25s ease;
}
@media (min-width: 783px) {
body.admin-bar .ostu-fb-progress { top: 32px; }
}
.product-card a.add_to_cart_button.ostu-fb-busy,
.product-card__actions a.add_to_cart_button.ostu-fb-busy {
position: relative;
color: transparent;
pointer-events: none;
}
.product-card a.add_to_cart_button.ostu-fb-busy::before,
.product-card__actions a.add_to_cart_button.ostu-fb-busy::before {
opacity: 0;
}
.product-card a.add_to_cart_button.ostu-fb-busy::after,
.product-card__actions a.add_to_cart_button.ostu-fb-busy::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 18px;
height: 18px;
margin: -9px 0 0 -9px;
border: 2px solid rgba(255, 255, 255, .45);
border-top-color: #fff;
border-radius: var(--radius-circle, 50%);
animation: ostu-fb-spin .7s linear infinite;
}
@keyframes ostu-fb-spin {
to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
.js-ostu-shop-main .ostu-skeleton__body::after {
animation: none;
}
.ostu-fb-progress,
.ostu-fb-progress__bar {
transition: none;
}
.product-card a.add_to_cart_button.ostu-fb-busy::after,
.product-card__actions a.add_to_cart_button.ostu-fb-busy::after {
animation-duration: 1.6s;
}
}
