/* Native homepage/footer layout and mobile navigation. */
.moma-rubika-logo,.moma-footer-contact img.moma-contact-icon {mix-blend-mode:multiply;}
.moma-info-grid {width:min(1200px,calc(100% - 30px));margin:20px auto 50px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
.moma-info-card {min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:30px;border:1px solid #e7e5e1;border-radius:20px;background:#fff;color:#555;box-shadow:0 5px 22px #00000005;}
.moma-info-heading {display:flex;align-items:center;gap:13px;margin-bottom:22px;}
.moma-info-icon {display:flex;align-items:center;justify-content:center;flex:0 0 50px;width:50px;height:50px;background:#fff5d6;border-radius:15px;color:#534a2e;}
.moma-info-icon svg {width:28px;height:28px;}
#wrapper .moma-info-card h3 {font-size:22px!important;font-weight:700;line-height:1.6!important;color:#333!important;margin:0!important;}
#wrapper .moma-info-card p {font-size:14px!important;line-height:1.85!important;color:#626262!important;margin:0 0 18px;background:transparent;}
.moma-info-address {width:100%;padding:12px 15px;margin-bottom:10px;border-radius:12px;background:#f7f7f7;}
.moma-info-address strong {display:block;font-size:14px;color:#444;margin-bottom:5px;}
#wrapper .moma-info-address p {margin:0;font-size:13px!important;}
.moma-info-hours {width:100%;padding:12px 0 22px;text-align:center;}
#wrapper .moma-info-hours h4 {font-size:14px!important;font-weight:600;color:#555!important;margin:0 0 8px;}
.moma-info-hours>div {display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;}
#wrapper .moma-info-hours span,#wrapper .moma-info-hours b {color:#555!important;opacity:1;font-size:13px!important;}
.moma-info-hours b {margin-right:8px;}
#wrapper .moma-info-intro {font-size:17px!important;font-weight:600;color:#444!important;}
.moma-info-topics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:8px 0 30px;}
.moma-info-topics>div {display:flex;align-items:center;gap:9px;padding:16px 12px;border-radius:12px;background:#f7f7f7;color:#444;}
.moma-info-topics svg {width:24px;height:24px;flex:0 0 24px;}
#wrapper .moma-info-topics span {font-size:14px!important;color:#555!important;opacity:1;}
#wrapper .moma-info-action {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin-top:auto;padding:10px 22px!important;border-radius:30px;background:#fdc41b;color:#333!important;font-size:14px!important;font-weight:600;text-decoration:none;}
#wrapper .moma-info-action span {font-size:inherit!important;color:inherit!important;opacity:1;}
.moma-info-action:focus-visible {outline:2px solid #333;outline-offset:3px;}
#wrapper .moma-info-card>p:last-child:has(.moma-info-action) {width:100%;text-align:center;margin-top:auto!important;margin-bottom:0!important;}
#wrapper .moma-info-card>.moma-info-action {align-self:center;}
/* Native categories: ten per desktop view, four per mobile view. */
.moma-home-categories header.moma-category-heading {display:flex!important;position:relative;flex-wrap:wrap;align-items:center;justify-content:center!important;gap:18px 10px;width:100%;max-width:1250px;margin:20px auto 25px;padding:0 15px;direction:rtl;text-align:center;}
.moma-home-categories .moma-category-heading::after {content:"";display:block;flex:0 0 100%;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='16' viewBox='0 0 90 16'%3E%3Cg fill='%23ffc619'%3E%3Ccircle cx='6' cy='8' r='6'/%3E%3Crect x='14' y='1' width='62' height='14' rx='7'/%3E%3Ccircle cx='84' cy='8' r='6'/%3E%3C/g%3E%3C/svg%3E") center/90px 16px no-repeat;}
.moma-home-categories .moma-category-heading h2 {flex:0 0 auto!important;width:auto!important;max-width:calc(100% - 40px);font-size:22px!important;line-height:1.6!important;color:#333!important;margin:0!important;}
.moma-category-heading svg {width:30px;height:30px;flex:0 0 30px;color:#333;}
@media(min-width:850px){.moma-home-categories .row.moma-footer-category-row>.col {flex-basis:10%!important;width:10%!important;max-width:10%!important;padding-left:5px;padding-right:5px;}}
.moma-home-categories .moma-footer-category-row {flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none;padding:8px 22px 16px;margin:0 auto;width:100%;}
.moma-home-categories .moma-footer-category-row::-webkit-scrollbar {display:none;width:0;height:0;}
.moma-home-categories .moma-footer-category-row>.col {flex:0 0 25%!important;width:25%!important;max-width:25%!important;min-width:0;scroll-snap-align:start;padding:0 10px;}
.moma-home-categories .moma-footer-category-row .img {width:88px!important;max-width:100%;margin:0 auto 10px;}
.moma-home-categories .moma-footer-category-row {cursor:grab;touch-action:pan-x pan-y;}
.moma-home-categories .moma-footer-category-row.is-dragging {cursor:grabbing;scroll-snap-type:none!important;scroll-behavior:auto!important;user-select:none;}
.moma-home-categories .moma-footer-category-row img {-webkit-user-drag:none;user-select:none;}
.moma-home-categories .moma-footer-category-row>.col:nth-child(6n+1) {--moma-glass:#afe1daaa;}
.moma-home-categories .moma-footer-category-row>.col:nth-child(6n+2) {--moma-glass:#ebc0d9aa;}
.moma-home-categories .moma-footer-category-row>.col:nth-child(6n+3) {--moma-glass:#c4cff0b0;}
.moma-home-categories .moma-footer-category-row>.col:nth-child(6n+4) {--moma-glass:#f4d4a8ad;}
.moma-home-categories .moma-footer-category-row>.col:nth-child(6n+5) {--moma-glass:#d8c3ebad;}
.moma-home-categories .moma-footer-category-row>.col:nth-child(6n+6) {--moma-glass:#b6deedaa;}
.moma-home-categories .moma-footer-category-row .img-inner {position:relative;overflow:hidden;border-radius:50%;border:1px solid #ffffffdc;background:linear-gradient(145deg,#ffffffe6,var(--moma-glass,#e5edf180));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 1px 2px 5px #fff,inset -2px -3px 7px #a4b8c31a,0 5px 13px #4f69740c;}
.moma-home-categories .moma-footer-category-row img {filter:url(#moma-category-color-1);opacity:1;mix-blend-mode:multiply;}
.moma-home-categories .moma-footer-category-row .img-inner::after {content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(135deg,#ffffff80 0%,#ffffff12 42%,transparent 55%);box-shadow:inset 0 1px 0 #fff;}
.moma-home-categories .moma-footer-category-row h2 {text-align:center;font-size:14px!important;margin:0;}
.moma-home-categories .moma-footer-category-row h2 a {font-size:inherit!important;white-space:nowrap;}
.moma-category-scroll-shell {position:relative;max-width:1250px;margin:auto;}
.moma-category-scroll-button {position:absolute;top:42px;z-index:2;display:flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;border:1px solid #eee;border-radius:50%;background:#fff!important;color:#333!important;padding:0;margin:0;box-shadow:0 2px 7px #0001;font-size:20px;}
.moma-category-scroll-prev {right:0;}.moma-category-scroll-next {left:0;}
/* Footer remains native WordPress content; grid controls visual order. */
#footer .moma-footer-main-row {display:grid;grid-template-columns:1.3fr repeat(4,minmax(0,1fr));gap:28px;width:calc(100% - 40px);margin:auto;}
#footer .moma-footer-main-row>.col {width:auto;max-width:none;padding:0;min-width:0;}
#footer .moma-footer-main-row>.col>.col-inner {margin:0!important;}
#footer .moma-footer-main-row h2 {font-size:16px!important;line-height:1.6;margin-bottom:10px;}
#footer .moma-footer-main-row h2 span {font-size:inherit!important;}
#footer .moma-footer-main-row p,#footer .moma-footer-main-row p span,#footer .moma-footer-main-row p a {font-size:12px!important;line-height:1.9!important;overflow-wrap:anywhere;}
#footer .moma-footer-brand h2 {font-size:25px!important;}
#footer .moma-footer-brand h3 {font-size:14px;}
#footer .moma-footer-brand-logo {width:68px!important;max-width:100%;margin:12px auto 14px!important;}
#footer .moma-footer-brand-logo,#footer .moma-footer-brand-logo .img-inner {background:transparent!important;box-shadow:none!important;filter:none!important;}
#footer .moma-footer-brand-logo img {width:100%;height:auto;object-fit:contain;box-shadow:none!important;filter:url(#moma-footer-logo-clear)!important;}
#footer .moma-footer-contact p>span {display:flex;align-items:center;justify-content:flex-start;gap:4px;direction:rtl;flex-wrap:wrap;text-align:right;}
#footer .moma-footer-contact .moma-contact-icon {width:17px;height:17px;flex:0 0 17px;color:#424242;}
#footer .moma-footer-contact p a {direction:ltr;unicode-bidi:isolate;}
#footer .moma-footer-credits .col-inner {margin:0!important;}
#footer .moma-footer-credits .col-inner>.row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:144px;margin:0!important;direction:rtl;}
#footer .moma-footer-credits .col-inner>.row>.col {width:auto;max-width:none;padding:0;}
#footer .moma-footer-credits .col-inner>.row>.col>.col-inner {display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:8px;}
#footer .moma-footer-credits .img {width:52px!important;max-width:100%;margin:0 auto!important;}
#footer .moma-footer-credits .img img {max-height:52px;object-fit:contain;}
#footer .moma-footer-store .img {width:90px!important;max-width:100%;}
#footer .moma-footer-store>.col-inner>.row:not(.moma-footer-socials) .img {margin-left:auto!important;margin-right:auto!important;}
#footer .moma-footer-socials {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:170px!important;max-width:100%!important;margin:18px auto 0!important;align-items:center;direction:rtl;}
#footer .moma-footer-socials>.col {width:auto!important;max-width:none!important;padding:0!important;min-width:0;}
#footer .moma-footer-socials .img {width:23px!important;margin:0 auto!important;}
#footer .moma-footer-socials>.col>.col-inner {height:28px;display:flex;align-items:center;justify-content:center;}
#footer .moma-footer-socials .col-inner {margin:0!important;text-align:center;}
#footer .moma-footer-socials .moma-social-link {display:flex;align-items:center;justify-content:center;width:28px;height:28px;max-width:100%;margin:auto;color:#292929;}
#footer .moma-footer-socials svg {display:block;width:23px;height:23px;}
#footer .moma-footer-socials .moma-rubika-logo {display:block;width:23px;height:23px;object-fit:contain;}
#footer .moma-footer-socials a:focus-visible {outline:2px solid #b98900;outline-offset:3px;border-radius:5px;}
.moma-mobile-bar,.moma-mobile-search {display:none;}
#main-menu .moma-mobile-menu-icon,#main-menu .moma-catalog-icon {display:block;width:22px;height:22px;min-width:22px;flex:0 0 22px;color:#333;}
#main-menu .nav-sidebar li>a:has(.moma-mobile-menu-icon),#main-menu .product-categories li>a:has(.moma-catalog-icon) {display:flex;align-items:center;gap:9px;direction:rtl;}
@media(max-width:849px){
 #header #top-bar {height:36px!important;min-height:36px!important;}
 #header #top-bar>.flex-row {min-height:36px!important;}
 #header #top-bar .header-block {width:100%;margin:0!important;}
 #header #top-bar .moma-header-socials {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:170px;max-width:100%!important;margin:0 auto!important;align-items:center;direction:rtl;}
 #header #top-bar .moma-header-socials>.col {width:auto!important;max-width:none!important;padding:0!important;min-width:0;}
 #header #top-bar .moma-header-socials>.col>.col-inner {height:28px;display:flex;align-items:center;justify-content:center;margin:0!important;}
 #header #top-bar .moma-header-socials .img {width:21px!important;max-width:100%;margin:0!important;}
 #header #top-bar .moma-header-social-link {display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:#292929;}
 #header #top-bar .moma-header-social-link svg {display:block;width:21px;height:21px;}
 #header #top-bar .moma-header-social-link .moma-rubika-logo {display:block;width:21px;height:21px;object-fit:contain;}
 #header #top-bar .moma-header-social-link:focus-visible {outline:2px solid #ad7b00;outline-offset:2px;border-radius:5px;}
 #wrapper .moma-home-blog {padding-top:24px!important;padding-bottom:0!important;}
 #wrapper .moma-home-blog>.section-content>.gap-element:first-child {display:none!important;}
 #wrapper .moma-info-grid {margin-bottom:0!important;}
 .moma-home-categories {padding-top:24px!important;}
 .moma-home-categories>.section-content>.gap-element:first-child {display:none!important;}
 .moma-home-categories header.moma-category-heading {margin-top:0!important;}
 #footer .moma-footer-store>.col-inner>.row:not(.moma-footer-socials) {width:100%;margin:0!important;}
 #footer .moma-footer-store>.col-inner>.row:not(.moma-footer-socials)>.col {padding:0!important;}
 #footer .moma-footer-store>.col-inner>.row:not(.moma-footer-socials) .img {margin-left:auto!important;margin-right:0!important;}
 #footer .moma-footer-socials {margin:14px 0 0 auto!important;}
 .moma-info-grid {grid-template-columns:minmax(0,1fr);gap:18px;}
 .moma-info-card {padding:22px 18px;border-radius:17px;}
 #wrapper .moma-info-card h3 {font-size:19px!important;}
 .moma-info-heading {gap:10px;}
 .moma-info-icon {width:44px;height:44px;flex-basis:44px;}
 .moma-home-hero .wpstory-shortcode-wrapper {margin:20px 0!important;}
 #wrapper .moma-home-blog .moma-blog-cards .post-title {font-size:12px!important;height:6.4em!important;min-height:6.4em!important;}
 #wrapper .moma-home-blog .moma-blog-cards .post-title a {-webkit-line-clamp:4;}
 #wrapper .moma-home-blog .moma-blog-cards .blog-post-inner {column-gap:7px;}
 #wrapper .moma-home-blog .moma-blog-cards .blog-post-inner>.button.is-underline {font-size:9px!important;}
 #wrapper .moma-home-blog .moma-blog-cards .post-item {padding-left:6px!important;padding-right:6px!important;}
 #wrapper .moma-home-blog .moma-blog-cards .box-text {padding-left:0!important;padding-right:0!important;}
 #wrapper .moma-blog-divider-mobile {width:90px!important;margin:0 auto!important;}
 #wrapper .moma-blog-divider-mobile .img-inner {margin:0!important;}
 #footer .moma-footer-main-row {grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px;width:calc(100% - 36px);}
 #footer .moma-footer-brand {grid-column:1/-1;grid-row:1;text-align:center;}
 #footer .moma-footer-contact {grid-column:1;grid-row:2;}
 #footer .moma-footer-help {grid-column:2;grid-row:2;}
 #footer .moma-footer-credits {grid-column:1;grid-row:3;}
 #footer .moma-footer-store {grid-column:2;grid-row:3;}
 .moma-home-categories .moma-footer-category-row {padding-left:14px;padding-right:14px;}
 .moma-home-categories .moma-footer-category-row>.col {padding:0 6px;}
 .moma-home-categories .moma-footer-category-row .img {width:64px!important;}
 .moma-home-categories .moma-footer-category-row h2 {font-size:11px!important;}
 .moma-category-scroll-button {top:28px;width:25px;height:25px;min-height:25px;}
 body {padding-bottom:calc(70px + env(safe-area-inset-bottom,0px));}
 .moma-mobile-bar {position:fixed;z-index:1000;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));direction:rtl;min-height:66px;padding:8px 6px calc(7px + env(safe-area-inset-bottom,0px));background:#fffffff5;border-top:1px solid #ececec;box-shadow:0 -3px 18px #00000007;}
 .moma-mobile-bar>a,.moma-mobile-bar>button {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative;min-width:0;border:0;background:transparent!important;color:#555!important;padding:0!important;margin:0!important;line-height:1.5!important;text-decoration:none;}
 .moma-mobile-bar svg {display:block;width:23px;height:23px;stroke-width:1.6;}
 .moma-mobile-bar span {font-size:10px!important;line-height:1.6;color:inherit!important;opacity:1;white-space:nowrap;}
 .moma-mobile-bar .is-active {color:#ad7b00!important;}
 .moma-mobile-bar .is-active svg {fill:#fff3cc;}
 .moma-mobile-bar .moma-mobile-cart-count {position:absolute;top:-2px;left:calc(50% + 2px);min-width:15px;height:15px;border-radius:50%;padding:1px 3px;background:#fdc41b;color:#333!important;font-size:9px!important;line-height:13px;text-align:center;}
 .moma-mobile-search[open] {display:block;position:fixed;z-index:1001;inset:auto 0 calc(80px + env(safe-area-inset-bottom,0px));width:calc(100% - 24px);max-width:500px;margin:auto;padding:24px 18px;border:1px solid #eee;border-radius:20px;background:#fff;color:#333;box-shadow:0 12px 50px #0003;}
 .moma-mobile-search::backdrop {background:#0005;}
 .moma-mobile-search label {display:block;margin-bottom:15px;color:#444;font-weight:600;}
 .moma-mobile-search form>div {display:flex;gap:8px;}
 .moma-mobile-search input[type=search] {font-size:16px;border-radius:10px;height:44px;margin:0;}
 .moma-mobile-search button[type=submit] {height:44px;min-width:64px;border-radius:10px;margin:0;}
 .moma-mobile-search-close {position:absolute;left:10px;top:8px;width:30px;height:30px;min-height:30px;padding:0;margin:0;background:transparent!important;color:#555!important;font-size:23px;}
 .moma-mobile-bar :focus-visible {outline:2px solid #ad7b00;outline-offset:2px;border-radius:8px;}
 /* Only the launcher sits above the mobile navigation. An open chat uses Goftino's viewport layout. */
 html:not(.moma-goftino-open) #goftino_w {bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;}
 .back-to-top {bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;}
 .mfp-wrap.off-canvas .mfp-content,#main-menu {background:#fff!important;opacity:1!important;}
 html:has(.mfp-wrap.mfp-ready) #goftino_w,body:has(.moma-mobile-search[open]) #goftino_w {visibility:hidden!important;pointer-events:none!important;}
 html:has(.mfp-wrap.mfp-ready) .moma-mobile-bar {visibility:hidden;}
}
@media(prefers-reduced-motion:reduce){.moma-footer-category-row {scroll-behavior:auto!important;}}


