/*
 * Motion for the main store (all pages using fashion_template).
 * Works with assets/js/motion.js. html.mo is set in <head>; if motion.js never
 * runs, it is removed after 3s so nothing stays hidden.
 */
:root {
    --mo-out: cubic-bezier(.2, .75, .2, 1);
    --mo-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Intro splash (first page of the visit only) ---------- */
html.mo-intro body::after {
    content: '';
    position: fixed; inset: 0; z-index: 100000; pointer-events: none;
    background:
        url('../../img/yassma-logo-clean.png') center 46% / min(300px, 62vw) auto no-repeat,
        radial-gradient(circle at 50% 46%, #fff 0%, #fde8f0 38%, #f5b9cf 100%);
    animation: mo-splash 1.7s var(--mo-out) forwards;
}
@keyframes mo-splash {
    0% { opacity: 1; background-size: min(220px, 50vw) auto, 100% 100%; }
    45% { opacity: 1; background-size: min(300px, 62vw) auto, 100% 100%; clip-path: circle(150% at 50% 46%); }
    100% { opacity: 1; background-size: min(340px, 70vw) auto, 100% 100%; clip-path: circle(0% at 50% 46%); visibility: hidden; }
}

/* ---------- Page enter ---------- */
html.mo body > :not(.header):not(#toast-container):not(.cart-overlay):not(.cart-sidebar):not(script):not(style) {
    animation: mo-fade .6s ease backwards; /* backwards, not both: a lasting animation would trap fixed overlays */
}
@keyframes mo-fade { from { opacity: 0; } }

/* ---------- Scroll reveal ---------- */
html.mo .mo-rv:not(.in) { opacity: 0; }
html.mo .mo-rv.in { animation: mo-up .8s var(--mo-out) var(--d, 0s) backwards; }
html.mo .product-card.mo-rv.in { animation-name: mo-card; animation-duration: .9s; }
html.mo .category-item.mo-rv.in { animation-name: mo-pop; animation-duration: .8s; animation-timing-function: var(--mo-back); }
html.mo .gallery-container.mo-rv.in { animation-name: mo-zoom; }
@keyframes mo-up { from { opacity: 0; transform: translateY(34px); } }
@keyframes mo-card { from { opacity: 0; transform: translateY(46px) scale(.92) rotate(-1.2deg); filter: blur(6px); } }
@keyframes mo-pop { from { opacity: 0; transform: scale(.4) rotate(-10deg); } }
@keyframes mo-zoom { from { opacity: 0; transform: scale(.9); filter: blur(4px); } }

/* section titles: the gold/pink line draws in */
html.mo .section-title.in h2::after { animation: mo-line .9s var(--mo-out) calc(var(--d, 0s) + .3s) backwards; }
@keyframes mo-line { from { width: 0; opacity: 0; } }

/* ---------- Scroll progress bar under the header ---------- */
.mo-progress {
    position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 1001; pointer-events: none;
    background: linear-gradient(90deg, #d4a63c, #e7739f, #c64a7d);
    transform: scaleX(0); transform-origin: 0 50%;
    box-shadow: 0 0 10px rgba(231, 115, 159, .6);
}
[dir="rtl"] .mo-progress { transform-origin: 100% 50%; }

/* ---------- Header ---------- */
.header { transition: padding .35s var(--mo-out), box-shadow .35s; }
body .header.mo-small { padding-top: 4px; padding-bottom: 4px; box-shadow: 0 10px 30px rgba(43, 29, 36, .35); }
.header .logo img { transition: height .35s var(--mo-out), filter .4s; }
body .header.mo-small .logo img { height: 74px !important; }
.header .logo a:hover img { filter: drop-shadow(0 0 12px rgba(231, 115, 159, .7)); }
html.mo .main-nav ul li { animation: mo-drop .6s var(--mo-back) backwards; }
html.mo .main-nav ul li:nth-child(1) { animation-delay: .15s; }
html.mo .main-nav ul li:nth-child(2) { animation-delay: .22s; }
html.mo .main-nav ul li:nth-child(3) { animation-delay: .29s; }
html.mo .main-nav ul li:nth-child(4) { animation-delay: .36s; }
html.mo .main-nav ul li:nth-child(5) { animation-delay: .43s; }
html.mo .main-nav ul li:nth-child(6) { animation-delay: .5s; }
html.mo .main-nav ul li:nth-child(n+7) { animation-delay: .57s; }
@keyframes mo-drop { from { opacity: 0; transform: translateY(-14px); } }
body .main-nav ul li a { position: relative; }
/* shine that stays inside the pill (no overflow:hidden, so the cart badge isn't clipped) */
body .main-nav ul li a.nav-catalog::after,
body .header-btn.cart-btn::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%) 0 0 / 300% 100% no-repeat;
    background-position: 150% 0; animation: mo-shine-bg 4s ease-in-out 1.5s infinite;
}
@keyframes mo-shine-bg { 0% { background-position: 150% 0; } 28%, 100% { background-position: -50% 0; } }
body .header-btn { transition: transform .25s var(--mo-back), background .2s, border-color .2s; }
body .header-btn:hover { transform: translateY(-2px); }
@keyframes mo-shine { 0% { transform: translateX(-120%); } 28%, 100% { transform: translateX(120%); } }

/* cart badge bounces when the number changes; the bag shakes when an item lands */
.cart-btn .badge.mo-bump { animation: mo-bump .6s var(--mo-back); }
@keyframes mo-bump { 30% { transform: scale(1.7); } 60% { transform: scale(.85); } }
.cart-btn.mo-hit i { animation: mo-shake .6s ease-in-out; }
@keyframes mo-shake { 20% { transform: rotate(-18deg) scale(1.2); } 40% { transform: rotate(14deg) scale(1.2); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }

/* ---------- Hero slider ---------- */
.slider-wrapper { position: relative; }
.slick-slider .slick-slide { overflow: hidden; }
.slick-slider .slick-current .slide-item { animation: mo-kenburns 7s ease-out both; }
@keyframes mo-kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.slick-slider .slick-current .carousel-text { animation: mo-caption 1.1s var(--mo-out) .25s both; }
@keyframes mo-caption { from { opacity: 0; transform: translateY(40px); letter-spacing: 14px; filter: blur(6px); } }
.slick-dots li button::before { transition: transform .3s var(--mo-back), color .3s; }
.slick-dots li.slick-active button::before { transform: scale(1.6); color: #e7739f !important; opacity: 1 !important; }
.slick-slider .slick-prev, .slick-slider .slick-next { transition: transform .25s var(--mo-back), background .2s; }
.slick-slider .slick-prev:hover, .slick-slider .slick-next:hover { transform: translateY(-50%) scale(1.15); }

/* hearts & sparkles floating over the slider */
.mo-floaties { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 5; }
.mo-floaties i {
    position: absolute; bottom: -40px; font-style: normal; line-height: 1; opacity: 0;
    text-shadow: 0 0 12px rgba(255, 255, 255, .6);
    animation: mo-float var(--t, 12s) linear var(--dl, 0s) infinite;
}
@keyframes mo-float {
    0% { opacity: 0; transform: translate(0, 0) rotate(0); }
    10% { opacity: var(--o, .6); }
    50% { transform: translate(var(--x, 30px), -45vh) rotate(25deg); }
    85% { opacity: var(--o, .6); }
    100% { opacity: 0; transform: translate(0, -90vh) rotate(-15deg); }
}

/* ---------- Categories (home): talking circles ---------- */
body .categories-section {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 56px 0 64px;
    background: linear-gradient(165deg, #fff 0%, #fde8f0 55%, #fff8fa 100%);
    border-bottom: 1px solid #f3d6e2;
}
.cats-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.cats-blob-1 { width: 420px; height: 420px; background: #f7b6cf; top: -140px; inset-inline-start: -120px; animation: mo-blob 14s ease-in-out infinite alternate; }
.cats-blob-2 { width: 360px; height: 360px; background: #f5d98f; bottom: -150px; inset-inline-end: -100px; animation: mo-blob 17s ease-in-out infinite alternate-reverse; }
@keyframes mo-blob { 50% { transform: translate(80px, 40px) scale(1.15); } 100% { transform: translate(-40px, 70px) scale(.95); } }

.cats-head { text-align: center; margin-bottom: 34px; }
.cats-eyebrow {
    display: inline-block; padding: 5px 16px; border-radius: 999px;
    background: #fff; border: 1px solid #f3d6e2; color: #c64a7d; font-weight: 800; font-size: 14px;
    box-shadow: 0 6px 16px rgba(198, 74, 125, .12);
}
.cats-head h2 {
    margin: 14px 0 0; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.25;
    background: linear-gradient(90deg, #2b1d24, #c64a7d, #d4a63c, #c64a7d, #2b1d24) 0 0 / 250% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: mo-sheen 7s linear infinite;
}
@keyframes mo-sheen { to { background-position: -250% 0; } }
.cats-wave { display: inline-block; -webkit-text-fill-color: initial; color: initial; animation: mo-look 2.6s ease-in-out infinite; }
/* Rotating greeting (motion.js): fixed height so the page doesn't jump between short and long lines */
.cats-head h2.greet {
    display: flex; align-items: center; justify-content: center; min-height: 2.5em;
    font-size: clamp(22px, 3vw, 34px); transition: opacity .35s ease, transform .35s ease;
}
.cats-head h2.greet.greet-out { opacity: 0; transform: translateY(6px); }
@media (max-width: 480px) { .cats-head h2.greet { min-height: 3.75em; } }
@keyframes mo-look { 0%, 100% { transform: none; } 25% { transform: translateX(-6px) rotate(-8deg); } 60% { transform: translateX(6px) rotate(8deg); } }

body .categories-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 38px 30px; padding: 26px 0 0; }
body .category-item {
    display: flex; flex-direction: column; align-items: center; gap: 16px; width: 196px;
    text-decoration: none; color: #2b1d24;
}
body .category-item:hover { transform: none; }
.cat-orb { position: relative; width: 176px; height: 176px; display: block; animation: mo-bob 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.7s); }
@keyframes mo-bob { 50% { translate: 0 -8px; } }
/* spinning gradient ring */
.cat-ring {
    position: absolute; inset: -8px; border-radius: 50%;
    background: conic-gradient(from 0deg, #e7739f, #d4a63c, #c64a7d, #fff, #e7739f);
    animation: mo-spin 6s linear infinite;
    transition: filter .3s, inset .4s var(--mo-back);
}
@keyframes mo-spin { to { transform: rotate(360deg); } }
body .category-item .category-img-wrapper {
    position: absolute; inset: 0; display: block; border-radius: 50%; overflow: hidden;
    background: #fde8f0; border: 0 !important;
    box-shadow: 0 0 0 5px #fff, 0 16px 34px rgba(198, 74, 125, .28) !important;
    transition: transform .5s var(--mo-back), box-shadow .4s !important;
}
body .category-item .category-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .9s var(--mo-out) !important;
}
body .category-item .category-img-wrapper::after { /* light sweep */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
    transform: translateX(-130%); animation: mo-shine 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .6s);
}
/* item count badge */
.cat-count {
    position: absolute; top: 2px; inset-inline-end: -2px; z-index: 3;
    min-width: 40px; height: 40px; padding: 0 6px; border-radius: 999px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #ffe08a, #d4a63c); color: #2b1d24; font-weight: 800; font-size: 15px;
    border: 3px solid #fff; box-shadow: 0 6px 14px rgba(212, 166, 60, .45);
    animation: mo-badge 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s);
}
@keyframes mo-badge { 0%, 70%, 100% { transform: none; } 78% { transform: scale(1.25) rotate(-10deg); } 86% { transform: scale(.95) rotate(6deg); } }
/* speech bubble (motion.js picks who talks) */
.cat-orb .cat-bubble {
    position: absolute; bottom: calc(100% + 12px); left: 50%; z-index: 4;
    white-space: nowrap; padding: 8px 14px; border-radius: 999px;
    background: #fff; color: #2b1d24; font-weight: 800; font-size: 14px;
    box-shadow: 0 10px 24px rgba(43, 29, 36, .2);
    opacity: 0; transform: translate(-50%, 10px) scale(.5); transform-origin: 50% 100%;
    transition: opacity .25s, transform .45s var(--mo-back);
    pointer-events: none;
}
.cat-orb .cat-bubble::after {
    content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px;
    border: 8px solid transparent; border-top-color: #fff; border-bottom: 0;
}
body .category-item.talk .cat-bubble,
body .category-item:hover .cat-bubble { opacity: 1; transform: translate(-50%, 0) scale(1); }
/* title pill */
body .category-item .category-title {
    display: inline-block; padding: 7px 18px; border-radius: 999px; max-width: 100%;
    background: #fff; border: 1px solid #f3d6e2; color: #2b1d24 !important;
    font-size: 15px; font-weight: 800; line-height: 1.3; text-align: center; font-family: inherit;
    box-shadow: 0 6px 16px rgba(198, 74, 125, .12);
    transition: background .3s, color .3s, transform .35s var(--mo-back), box-shadow .3s;
}
/* talking / hover state */
body .category-item.talk .cat-orb { animation: mo-bob 5s ease-in-out infinite, mo-jump .9s var(--mo-back); animation-delay: calc(var(--i, 0) * -.7s), 0s; }
@keyframes mo-jump { 0%, 100% { transform: none; } 25% { transform: translateY(-14px) scale(1.05) rotate(-3deg); } 50% { transform: scale(.97) rotate(2deg); } 75% { transform: translateY(-5px) rotate(-1deg); } }
body .category-item.talk .cat-ring,
body .category-item:hover .cat-ring { inset: -11px; animation-duration: 1.6s; filter: drop-shadow(0 0 14px rgba(231, 115, 159, .7)); }
body .category-item:hover .category-img-wrapper { transform: scale(1.05); box-shadow: 0 0 0 5px #fff, 0 22px 44px rgba(198, 74, 125, .38) !important; border-color: transparent; }
body .category-item:hover .category-img-wrapper img { transform: scale(1.14) rotate(3deg); }
body .category-item.talk .category-title,
body .category-item:hover .category-title {
    background: linear-gradient(135deg, #e7739f, #c64a7d); color: #fff !important; border-color: transparent;
    transform: translateY(-3px); box-shadow: 0 10px 22px rgba(198, 74, 125, .35);
}

@media (max-width: 768px) {
    body .categories-section { padding: 36px 0 44px; }
    .cats-head { margin-bottom: 18px; }
    body .categories-list { gap: 34px 12px; }
    body .category-item { width: 150px; gap: 12px; }
    .cat-orb { width: 128px; height: 128px; }
    .cat-count { min-width: 32px; height: 32px; font-size: 13px; }
    .cat-orb .cat-bubble { font-size: 12px; padding: 6px 10px; }
    body .category-item .category-title { font-size: 13px; padding: 5px 12px; }
}

/* ---------- Product cards ---------- */
body .product-card { will-change: transform; transform-style: preserve-3d; }
body .product-card::after { /* glare that follows the mouse */
    content: ''; position: absolute; inset: 0; z-index: 25; pointer-events: none; border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .45), transparent 45%);
    opacity: 0; transition: opacity .3s;
}
body .product-card.mo-tilt::after { opacity: 1; }
body .product-image a::after { /* light sweep across the photo */
    content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .6) 48%, rgba(255, 220, 235, .3) 52%, transparent 70%);
    transform: translateX(-130%);
}
body .product-card:hover .product-image a::after { transform: translateX(130%); transition: transform .9s var(--mo-out); }
body .product-card:hover .product-price { animation: mo-price .6s var(--mo-back); }
@keyframes mo-price { 40% { transform: translateY(-4px) scale(1.08); } }
body .product-image .discount-badge { animation: mo-pulse-red 2.2s ease-in-out infinite; }
@keyframes mo-pulse-red { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 51, 51, .5); } 50% { box-shadow: 0 0 0 8px rgba(255, 51, 51, 0); } }
body .action-btn { animation: mo-breathe 2.6s ease-in-out infinite; }
@keyframes mo-breathe { 50% { box-shadow: 0 6px 16px rgba(231, 115, 159, .45), 0 0 0 8px rgba(231, 115, 159, 0); } 0%, 100% { box-shadow: 0 6px 16px rgba(231, 115, 159, .45), 0 0 0 0 rgba(231, 115, 159, .35); } }
.quick-add-size-btn { transition: transform .2s var(--mo-back), background .2s, color .2s, border-color .2s, box-shadow .2s !important; }
.product-card:hover .quick-add-size-btn { animation: mo-pop .45s var(--mo-back) backwards; }
.product-card:hover .quick-add-size-btn:nth-child(2) { animation-delay: .05s; }
.product-card:hover .quick-add-size-btn:nth-child(3) { animation-delay: .1s; }
.product-card:hover .quick-add-size-btn:nth-child(4) { animation-delay: .15s; }
.product-card:hover .quick-add-size-btn:nth-child(n+5) { animation-delay: .2s; }
.share-row .share-btn { animation: none; }
.product-card.in .share-btn { animation: mo-pop .5s var(--mo-back) calc(var(--d, 0s) + .5s) backwards; }
.product-card.in .share-btn:nth-child(2) { animation-delay: calc(var(--d, 0s) + .56s); }
.product-card.in .share-btn:nth-child(3) { animation-delay: calc(var(--d, 0s) + .62s); }
.product-card.in .share-btn:nth-child(4) { animation-delay: calc(var(--d, 0s) + .68s); }
.product-card.in .share-btn:nth-child(5) { animation-delay: calc(var(--d, 0s) + .74s); }

/* tabs: cards re-enter when switching */
.tab-nav-item { transition: color .25s, transform .25s var(--mo-back); }
.tab-nav-item:hover { transform: translateY(-2px); }
.tab-nav-item.active { animation: mo-pop .45s var(--mo-back); }
.tab-panel.mo-switch .product-card { animation: mo-card .7s var(--mo-out) var(--d, 0s) backwards !important; }

/* ---------- Click effects ---------- */
.mo-ripple {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 50;
    width: 10px; height: 10px; margin: -5px 0 0 -5px;
    background: rgba(255, 255, 255, .55);
    animation: mo-ripple .7s ease-out forwards;
}
@keyframes mo-ripple { to { transform: scale(40); opacity: 0; } }
.mo-fly {
    position: fixed; z-index: 100001; pointer-events: none;
    border-radius: 16px; object-fit: cover; background: #fff;
    box-shadow: 0 16px 40px rgba(198, 74, 125, .45);
    transition: transform .85s cubic-bezier(.55, -0.2, .35, 1), opacity .85s ease-in, border-radius .85s;
}
.mo-heart {
    position: fixed; z-index: 100002; pointer-events: none; font-style: normal; line-height: 1;
    animation: mo-burst .9s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes mo-burst {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(.3); }
    100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.1) rotate(var(--r)); }
}

/* ---------- Product page ---------- */
html.mo .details-info.in > * { animation: mo-up .7s var(--mo-out) backwards; }
html.mo .details-info.in > :nth-child(2) { animation-delay: .08s; }
html.mo .details-info.in > :nth-child(3) { animation-delay: .16s; }
html.mo .details-info.in > :nth-child(4) { animation-delay: .24s; }
html.mo .details-info.in > :nth-child(5) { animation-delay: .32s; }
html.mo .details-info.in > :nth-child(6) { animation-delay: .4s; }
html.mo .details-info.in > :nth-child(n+7) { animation-delay: .48s; }
.product-price-box .new-price { display: inline-block; animation: mo-glow-text 3s ease-in-out 1s infinite; }
@keyframes mo-glow-text { 50% { text-shadow: 0 0 18px rgba(231, 115, 159, .55); transform: scale(1.04); } }
.detail-add-btn { position: relative; overflow: hidden; transition: transform .25s var(--mo-back), box-shadow .25s !important; }
.detail-add-btn::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .4) 50%, transparent 65%);
    transform: translateX(-120%); animation: mo-shine 3s ease-in-out 1s infinite;
}
.detail-add-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(198, 74, 125, .35); }
.thumbnail-item { transition: transform .25s var(--mo-back), box-shadow .25s; }
.thumbnail-item:hover { transform: translateY(-4px); }
.main-image-frame img { transition: opacity .35s ease, transform .5s var(--mo-out); }
.main-image-frame img.mo-swap { animation: mo-swap .5s var(--mo-out); }
@keyframes mo-swap { from { opacity: 0; transform: scale(.96); } }
.size-opt-btn { transition: transform .2s var(--mo-back), background .2s, color .2s, border-color .2s !important; }
.size-opt-btn:hover { transform: translateY(-3px); }
.size-opt-btn.selected { animation: mo-pop .4s var(--mo-back); }

/* ---------- Footer ---------- */
body .main-footer { position: relative; overflow: hidden; }
body .main-footer::before {
    content: ''; position: absolute; top: 0; inset-inline: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #d4a63c, #e7739f, #d4a63c, transparent) 0 0 / 200% 100%;
    animation: mo-flow 4s linear infinite;
}
@keyframes mo-flow { to { background-position: -200% 0; } }
body .main-footer .footer-links a { position: relative; transition: color .25s; }
body .main-footer .footer-links a::after {
    content: ''; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; border-radius: 2px;
    background: #e7739f; transform: scaleX(0); transition: transform .3s var(--mo-out);
}
body .main-footer .footer-links a:hover::after { transform: scaleX(1); }

/* ---------- Back to top (with scroll ring) ---------- */
.mo-top {
    position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 900;
    width: 50px; height: 50px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, #e7739f, #c64a7d);
    box-shadow: 0 10px 24px rgba(198, 74, 125, .4);
    opacity: 0; transform: translateY(20px) scale(.6); pointer-events: none;
    transition: opacity .35s, transform .45s var(--mo-back);
}
.mo-top.show { opacity: 1; transform: none; pointer-events: auto; }
.mo-top:hover { transform: translateY(-4px) scale(1.06); }
.mo-top svg.ring { position: absolute; inset: -4px; width: 58px; height: 58px; transform: rotate(-90deg); }
.mo-top svg.ring circle { fill: none; stroke: #d4a63c; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: 170; }
.mo-top i { font-size: 18px; transition: transform .3s; }
.mo-top:hover i { transform: translateY(-3px); }

/* ---------- Search dropdown & cart drawer ---------- */
.search-results-dropdown:not(:empty) { animation: mo-drop .3s var(--mo-out); }
.cart-sidebar > * { transition: none; }

@media (max-width: 768px) {
    body .header.mo-small .logo img { height: 64px !important; }
    .mo-top { width: 44px; height: 44px; bottom: 16px; inset-inline-start: 16px; }
    .mo-top svg.ring { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    html.mo *, html.mo *::before, html.mo *::after { animation: none !important; transition: none !important; }
    html.mo-intro body::after { display: none; }
    .mo-floaties { display: none; }
}
