/* Admin-only approved V5 catalog preview skin. Native Woo query/filters, Melorin presentation. */
.mrnp-native-preview{--mrnp-text:#343033;--mrnp-muted:#7c7479;--mrnp-pink:#e97092;--mrnp-pink-dark:#9e405c;--mrnp-green:#25D366;--mrnp-border:#f0dde3;direction:rtl;width:min(1250px,calc(100% - 32px));margin:0 auto 48px;color:var(--mrnp-text);background:#fff}
.mrnp-native-preview .woocommerce-breadcrumb{margin:22px 0 16px;color:#918a8d;font-size:13px}.mrnp-native-preview .woocommerce-breadcrumb a{color:#696366;text-decoration:none}

/* Approved two-row archive controls. */
.mrnp-topbar,.mrnp-headingbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.mrnp-topbar{padding:0 0 17px;border-bottom:1px solid #efedef;font-size:13px;color:#777}.mrnp-result-count .woocommerce-result-count,.mrnp-topbar-sort .woocommerce-ordering{margin:0!important}.mrnp-topbar-sort select{border:0!important;background:transparent!important;color:#555!important;font:inherit!important;cursor:pointer;padding:6px 0 6px 22px!important;box-shadow:none!important}
.mrnp-headingbar{padding:22px 0 20px}.mrnp-headingbar h1{font-size:25px;line-height:1.3;margin:0;font-weight:800;color:#343033}.mrnp-tools{display:flex;align-items:center;gap:10px;font-size:13px;color:#777}.mrnp-reviews-toggle,.mrnp-filter-toggle{border:0;background:transparent;font:inherit;color:#555;cursor:pointer;padding:5px 4px}.mrnp-reviews-toggle:hover,.mrnp-filter-toggle:hover{color:#232022}.mrnp-show-label{margin-right:8px}.mrnp-filter-toggle{margin-right:8px;font-weight:700}.mrnp-per-page{display:flex;align-items:center;gap:4px}.mrnp-per-page a{display:grid;place-items:center;min-width:27px;height:27px;padding:0 5px;border-radius:5px;color:#8a8486;text-decoration:none}.mrnp-per-page a.is-active{background:#f1efef;color:#252122;font-weight:800}

/* Recent reviews panel mirrors the approved preview without owning review data. */
.mrnp-reviews-panel{position:relative;margin:-6px 0 18px;padding:20px;background:#fff;border-top:1px solid #eee9ea;border-bottom:1px solid #eee9ea}.mrnp-reviews-panel[hidden]{display:none}.mrnp-reviews-panel h2{margin:0 0 14px;font-size:15px}.mrnp-reviews-close,.mrnp-filter-close{position:absolute;left:14px;top:12px;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border:1px solid #e8d8de!important;border-radius:50%!important;background:#fff!important;color:#8d3f58!important;font-size:26px!important;line-height:1!important;box-shadow:0 4px 14px rgba(92,45,60,.10)!important;cursor:pointer!important;transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important}.mrnp-reviews-close:hover,.mrnp-reviews-close:focus-visible,.mrnp-filter-close:hover,.mrnp-filter-close:focus-visible{background:#fff3f6!important;color:#b83e61!important;transform:rotate(90deg)!important;box-shadow:0 7px 18px rgba(92,45,60,.14)!important}.mrnp-review-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mrnp-review-item{display:flex;gap:10px;align-items:center;color:#403a3c;text-decoration:none;border:1px solid #eee9ea;border-radius:8px;padding:8px;min-width:0;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.mrnp-review-item:hover{border-color:#e2bac6;box-shadow:0 6px 16px rgba(70,40,50,.07);transform:translateY(-1px)}.mrnp-review-img{width:54px!important;height:66px!important;object-fit:cover;flex:0 0 54px;border-radius:6px}.mrnp-review-item span{display:grid;gap:3px;min-width:0}.mrnp-review-item strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mrnp-review-item em{font-style:normal;color:#f5b301;font-size:13px;letter-spacing:1px}.mrnp-review-item small{font-size:10px;line-height:1.6;color:#817a7c}

/* Woo-native filters inside the approved four-column visual shell. */
.mrnp-filter-panel{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin:-6px 0 18px;padding:22px 20px;background:#fff;border-top:1px solid #eee9ea;border-bottom:1px solid #eee9ea;color:#746d70;font-size:13px}.mrnp-filter-panel[hidden]{display:none}.mrnp-filter-panel .widget{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.mrnp-filter-panel .widget-title{margin:0 0 12px!important;color:#312c2e!important;font-size:14px!important;font-weight:700!important}.mrnp-filter-panel select,.mrnp-sort-widget select{width:100%!important;min-height:38px!important;border:1px solid #ded9da!important;border-radius:8px!important;background:#fff!important;padding:6px 10px!important;font:inherit!important;color:#555!important;box-shadow:none!important}.mrnp-sort-widget .woocommerce-ordering{margin:0!important}.mrnp-filter-panel .select2-container{width:100%!important}.mrnp-filter-panel .woocommerce-widget-layered-nav-dropdown__submit{margin-top:8px!important;border:0!important;border-radius:999px!important;background:#343033!important;color:#fff!important;padding:7px 14px!important;font:inherit!important;cursor:pointer!important}.mrnp-filter-panel .price_slider_wrapper{padding-top:3px}.mrnp-filter-panel .price_slider{height:4px!important;margin:14px 8px 18px!important;background:#ece7e9!important;border:0!important}.mrnp-filter-panel .ui-slider-range{background:#e97092!important}.mrnp-filter-panel .ui-slider-handle{top:-6px!important;width:16px!important;height:16px!important;border:2px solid #fff!important;border-radius:50%!important;background:#9e405c!important;box-shadow:0 2px 7px rgba(82,37,52,.24)!important}.mrnp-filter-panel .price_slider_amount{display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.8}.mrnp-filter-panel .price_slider_amount .button{order:2;border:0!important;border-radius:999px!important;background:#343033!important;color:#fff!important;padding:7px 13px!important;font:inherit!important}.mrnp-filter-panel .price_label{font-size:11px;color:#746d70}

/* Product grid. */
.mrnp-native-preview ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:30px 16px!important;margin:0!important;padding:0!important}.mrnp-native-preview ul.products:before,.mrnp-native-preview ul.products:after{display:none!important}.mrnp-native-preview li.melorin-product-card{width:auto!important;margin:0!important;float:none!important;min-width:0!important;list-style:none!important}
.melorin-product-card__inner{display:flex;min-height:100%;flex-direction:column;background:#fff;border:1px solid var(--mrnp-border);border-radius:14px;padding:6px 6px 10px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.melorin-product-card__media-wrap{position:relative}.melorin-product-card__media{position:relative;display:block;overflow:hidden;border-radius:11px;background:#fff;aspect-ratio:1/1}.melorin-product-card__frame{position:absolute;inset:0;opacity:0;transition:opacity .55s ease}.melorin-product-card__frame:first-child{position:relative}.melorin-product-card__frame.is-active{opacity:1}.melorin-product-card__image,.melorin-product-card__media .woocommerce-placeholder{display:block;width:100%;height:100%;object-fit:cover}.melorin-product-card__sale{position:absolute;z-index:4;top:9px;right:9px;padding:5px 8px;border-radius:999px;background:#ea5160;color:#fff;font-size:11px;font-weight:800;box-shadow:0 3px 10px rgba(234,81,96,.18)}

/* Hover tools: hidden on pointer devices, always available on touch/mobile. */
.melorin-product-card__media-tools{position:absolute;z-index:6;left:8px;top:8px;display:flex;flex-direction:column;gap:6px;opacity:0;visibility:hidden;transform:translateX(-4px);pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}.melorin-product-card__inner:hover .melorin-product-card__media-tools,.melorin-product-card__inner:focus-within .melorin-product-card__media-tools{opacity:1;visibility:visible;transform:none;pointer-events:auto}.melorin-product-card__media-tool,.melorin-product-card__wishlist.melorin-wishlist-button{box-sizing:border-box!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;border:1px solid rgba(74,66,69,.14)!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important;color:#3f3a3c!important;box-shadow:0 3px 12px rgba(45,35,39,.10)!important;cursor:pointer!important;transition:transform .16s ease,color .16s ease,background .16s ease,box-shadow .16s ease!important}.melorin-product-card__media-tool svg,.melorin-product-card__wishlist svg{display:block!important;width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.85!important;stroke-linecap:round!important;stroke-linejoin:round!important}.melorin-product-card__wishlist .melorin-wishlist-button__label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.melorin-product-card__wishlist .melorin-wishlist-button__icon{display:grid!important;place-items:center!important}.melorin-product-card__wishlist.is-added{color:#e03f67!important}.melorin-product-card__wishlist.is-added svg{fill:currentColor!important;stroke:currentColor!important}.melorin-product-card__media-tool:hover,.melorin-product-card__wishlist:hover{background:#fff!important;color:#211e20!important;transform:scale(1.06)!important;box-shadow:0 5px 16px rgba(45,35,39,.16)!important}

/* Card content. */
.melorin-product-card__body{display:flex;flex:1;flex-direction:column;padding:10px 4px 0;text-align:right;min-height:0}.melorin-product-card__swatches{min-height:24px;display:flex;align-items:center;gap:7px;margin-top:2px}.melorin-product-card__swatch{box-sizing:border-box;width:20px;height:20px;border-radius:5px;background:var(--melorin-card-swatch);border:2px solid #fff;outline:1px solid #ddd7d9;box-shadow:0 1px 3px rgba(45,35,39,.08);transition:transform .14s ease,outline-color .14s ease,box-shadow .14s ease}.melorin-product-card__swatch:hover{transform:translateY(-1px);outline-color:#aaa1a4;box-shadow:0 3px 8px rgba(45,35,39,.12)}.melorin-product-card__swatch-more{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:5px;background:#f5f3f4;color:#6f696b;font-size:9px;font-weight:700}.melorin-product-card__title{margin:5px 0 4px;font-size:13px;line-height:1.65;font-weight:600;min-width:0}.melorin-product-card__title a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#343033!important;text-decoration:none}.melorin-product-card__title a:hover{color:#1f1d1e!important}.melorin-product-card__rating{display:flex;align-items:center;gap:7px;min-height:24px;margin:4px 0 6px}.melorin-product-card__stars{display:inline-block;font-size:18px;line-height:1;letter-spacing:1.4px;background:linear-gradient(90deg,#f5b301 var(--melorin-rating),#ded9db var(--melorin-rating));-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 1px 0 rgba(0,0,0,.03))}.melorin-product-card__rating small{font-size:11px;color:#7c7678}.melorin-product-card__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;margin-top:auto;padding-top:6px}.melorin-product-card__price{font-size:13px;font-weight:800;color:#20a84a;min-width:0}.melorin-product-card__price del{color:#a09a9c;font-weight:400;margin-left:5px}.melorin-product-card__price ins{text-decoration:none;color:#d23d52}.melorin-product-card__stock{margin:4px 0 0;font-size:12px;color:#7c7479}.melorin-deal-badge{align-self:flex-start;display:inline-flex;margin:3px 0 2px;padding:4px 8px;border-radius:999px;background:#fff1f4;color:#a63859;font-size:10px;font-weight:800}.melorin-countdown{display:block;min-height:18px;margin:1px 0 3px;color:#70696b;font-size:10px;line-height:1.5}
.melorin-product-card__cart{box-sizing:border-box!important;display:inline-grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;margin:0!important;border:1px solid #25D366!important;border-radius:50%!important;background:#25D366!important;color:#fff!important;text-decoration:none!important;box-shadow:none!important}.melorin-product-card__cart svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.melorin-product-card__cart:hover,.melorin-product-card__cart:focus-visible{background:#1ebe5d!important;border-color:#1ebe5d!important;color:#fff!important;box-shadow:0 5px 14px rgba(37,211,102,.24)!important;transform:translateY(-1px)}

/* Progressive load-more: the href remains the normal Woo next-page URL without JavaScript. */
.mrnp-load-more-wrap{display:grid;place-items:center;gap:8px;margin:34px 0 10px;text-align:center}.mrnp-load-more{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;min-width:190px;min-height:42px;padding:9px 22px;border:1px solid #e5cbd3;border-radius:999px;background:#fff;color:#8d3f58!important;font-size:13px;font-weight:800;text-decoration:none!important;box-shadow:0 4px 14px rgba(92,45,60,.07);transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.mrnp-load-more:hover,.mrnp-load-more:focus-visible{background:#8d3f58;color:#fff!important;border-color:#8d3f58;box-shadow:0 8px 22px rgba(141,63,88,.20);transform:translateY(-1px)}.mrnp-load-more.is-loading{opacity:.72;cursor:progress;transform:none}.mrnp-load-more-status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.mrnp-no-products{margin:24px 0;padding:22px;border:1px solid #eee6e9;border-radius:12px;background:#fff;color:#6f696b;text-align:center;line-height:1.9}.mrnp-description{margin:36px 0 12px;padding-top:24px;border-top:1px solid #eee6e9;line-height:2}

/* Lazy product gallery. */
.mrnp-gallery{width:min(860px,calc(100vw - 28px));max-height:90vh;border:0;border-radius:18px;padding:18px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.22);overflow:hidden}.mrnp-gallery::backdrop{background:rgba(18,14,16,.58);backdrop-filter:blur(2px)}.mrnp-gallery-stage{position:relative;display:grid;place-items:center;min-height:60vh;background:#fff;overflow:hidden;border-radius:14px}.mrnp-gallery-stage img{display:block;max-width:100%;max-height:72vh;object-fit:contain}.mrnp-gallery-close{position:absolute;z-index:5;top:12px;left:12px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #ead9df;border-radius:50%;background:#fff;color:#5f5559;box-shadow:0 5px 18px rgba(73,35,48,.12);cursor:pointer;font-size:24px}.mrnp-gallery-nav{position:absolute;z-index:4;top:50%;width:46px;height:46px;display:grid;place-items:center;padding:0;border:1px solid rgba(141,63,88,.22);border-radius:50%;background:rgba(255,255,255,.94);color:#8d3f58;box-shadow:0 7px 22px rgba(73,35,48,.16);cursor:pointer;transform:translateY(-50%);transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.mrnp-gallery-nav svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.mrnp-gallery-nav:hover,.mrnp-gallery-nav:focus-visible{background:#8d3f58;color:#fff;transform:translateY(-50%) scale(1.06);box-shadow:0 10px 28px rgba(141,63,88,.25)}.mrnp-gallery-prev{right:14px}.mrnp-gallery-next{left:14px}.mrnp-gallery-nav[hidden]{display:none!important}.mrnp-gallery-count{text-align:center;font-size:12px;color:#777;padding-top:8px}

/* Wishlist feedback. */
.mrnp-toast{position:fixed;z-index:100000;left:50%;bottom:24px;transform:translate(-50%,14px);display:flex;align-items:center;gap:8px;max-width:calc(100vw - 28px);padding:10px 14px;border-radius:999px;background:#242124;color:#fff;font-size:13px;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}.mrnp-toast.is-visible{opacity:1;transform:translate(-50%,0)}.mrnp-toast.is-success:before{content:'♥';color:#ff6b8f;font-size:16px}.mrnp-toast.is-remove:before{content:'♡';color:#fff;font-size:16px}

@media(hover:hover) and (pointer:fine){.melorin-product-card__inner:hover{transform:translateY(-3px);border-color:#dfa8b8;box-shadow:0 12px 30px rgba(72,39,48,.10)}.melorin-product-card__inner:hover .melorin-product-card__image{transform:scale(1.012)}}
@media(max-width:1100px){.mrnp-native-preview ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}.mrnp-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.mrnp-review-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.mrnp-native-preview{width:min(100% - 20px,1250px)}.mrnp-topbar{align-items:flex-start;gap:8px}.mrnp-headingbar{align-items:flex-start;flex-direction:column;gap:12px}.mrnp-tools{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.mrnp-filter-panel{grid-template-columns:1fr;gap:18px}.mrnp-review-list{grid-template-columns:1fr}.mrnp-native-preview ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 10px!important}.melorin-product-card__media-tools{opacity:1;visibility:visible;transform:none;pointer-events:auto;left:6px;top:6px;gap:4px}.melorin-product-card__media-tool,.melorin-product-card__wishlist.melorin-wishlist-button{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important}.melorin-product-card__media-tool svg,.melorin-product-card__wishlist svg{width:19px!important;height:19px!important}.melorin-product-card__title{font-size:12px}.melorin-product-card__price{font-size:12px}.mrnp-gallery{width:calc(100vw - 16px);padding:10px;border-radius:14px}.mrnp-gallery-stage{min-height:68vh}.mrnp-gallery-nav{width:42px;height:42px}.mrnp-gallery-prev{right:10px}.mrnp-gallery-next{left:10px}.mrnp-toast{bottom:16px;font-size:12px;padding:9px 12px}}
@media(prefers-reduced-motion:reduce){.melorin-product-card__inner,.melorin-product-card__frame,.melorin-product-card__cart,.mrnp-review-item{transition:none!important}}

/* Final parity guards against active Woodmart archive/button CSS. The product wrapper is ours, not Woodmart's loop wrapper. */
body .mrnp-native-preview ul.mrnp-products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:30px 16px!important;margin:0!important;padding:0!important}
body .mrnp-native-preview ul.mrnp-products > li.product{width:auto!important;max-width:none!important;flex:initial!important;margin:0!important;float:none!important}
body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-nav{-webkit-appearance:none!important;appearance:none!important;position:absolute!important;inset:auto!important;top:50%!important;display:grid!important;place-items:center!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;margin:0!important;padding:0!important;border:1px solid rgba(141,63,88,.34)!important;border-radius:50%!important;background:rgba(255,255,255,.98)!important;color:#8d3f58!important;box-shadow:0 8px 24px rgba(73,35,48,.18)!important;line-height:1!important;cursor:pointer!important;transform:translateY(-50%)!important}
body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-prev{right:18px!important;left:auto!important;bottom:auto!important}
body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-next{left:18px!important;right:auto!important;bottom:auto!important}
body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-nav svg{display:block!important;width:24px!important;height:24px!important;overflow:visible!important}
body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-nav svg path{fill:currentColor!important;stroke:none!important}
body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-nav:hover,
body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-nav:focus-visible{background:#8d3f58!important;color:#fff!important;box-shadow:0 10px 28px rgba(141,63,88,.28)!important;transform:translateY(-50%) scale(1.06)!important}
@media(max-width:1100px){body .mrnp-native-preview ul.mrnp-products{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:767px){body .mrnp-native-preview ul.mrnp-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 10px!important}body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-nav{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-prev{right:10px!important}body .mrnp-native-preview .mrnp-gallery-stage > button.mrnp-gallery-next{left:10px!important}}
