/* Mealworm refinements; the native header and footer remain universal. */
:where(#app) .swpd-staging-note{display:flex;justify-content:space-between;gap:12px;padding:10px 18px;font-size:11px;background:#faf3fb;border-bottom:1px solid #ebdcec;color:#5c4f6c}
:where(#app) .swpd-staging-note a{color:var(--blue);white-space:nowrap}
:where(#app) .product-photo img{aspect-ratio:1.2;object-fit:contain;padding:0;max-height:470px;width:100%;mix-blend-mode:multiply}
:where(#app) .ruler-insect{transform:none;transform-origin:50% 65%}
:where(#app) .size-options{grid-template-columns:repeat(3,minmax(0,1fr))}
:where(#app) .swpd-purchase-error{font-size:12px;line-height:1.7;color:#9a2442}
:where(#app) .swpd-purchase-error:empty{display:none}
:where(#app) .pack-note-emphasis{color:var(--ink)}
:where(#app) .roach-walk-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;mix-blend-mode:multiply}
:where(#app) .is-scuttling .ruler-insect{visibility:hidden}
:where(#app) .size-ruler:not([data-empty=true]) .ruler-stage{height:200px;min-height:200px}
:where(#app) .size-ruler[data-adult=true]:not([data-empty=true]) .ruler-stage{height:240px;min-height:240px}
@media(max-width:760px){body.swfp-page[data-feeder="mealworms"] #wa-chat-widget{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}:where(#app) .product-photo img{max-height:200px}:where(#app) .swpd-staging-note{font-size:10px;padding:9px 14px}:where(#app) .size-ruler:not([data-empty=true]) .ruler-stage{height:170px;min-height:170px}:where(#app) .size-ruler[data-adult=true]:not([data-empty=true]) .ruler-stage{height:210px;min-height:210px}}

:where(#app) .size-options{grid-template-columns:minmax(0,1fr);max-width:240px}
:where(#app) .customer-reviews--empty{grid-template-columns:1fr 1fr}
:where(#app) .review-reassurance strong{font-size:21px}
:where(#app) .review-reassurance p{font-size:12px;color:var(--muted);line-height:1.75}

:where(#app) #open-review{margin-top:16px}
:where(#app) .native-review-form #comments{display:none}
:where(#app) .native-review-form .comment-reply-title{display:none}
:where(#app) .native-review-form label{display:block;font-size:12px;font-weight:650;margin:16px 0 6px}
:where(#app) .native-review-form :is(input:not([type=checkbox]),textarea,select){max-width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;background:#fff;color:var(--ink);font:inherit;font-size:14px}
:where(#app) .native-review-form textarea{width:100%;min-height:120px}
:where(#app) .native-review-form input[type=submit]{background:var(--pink);color:white;cursor:pointer;padding:13px 24px}
:where(#app) .native-review-form p{font-size:12px;line-height:1.75;color:var(--muted)}
:where(#app) .native-review-form .wd-rating-summary-wrap{display:none}
:where(#app) .native-review-form .stars span{display:flex;gap:6px}
:where(#app) .native-review-form .stars a{display:inline-grid;place-items:center;width:40px;height:40px;font-size:0;border:1px solid var(--line);border-radius:7px;text-decoration:none}
:where(#app) .native-review-form .stars a:before{content:'★';font-size:27px;color:#8c96a4}
:where(#app) .native-review-form .stars a[aria-checked=true]:before,:where(#app) .native-review-form .stars a:has(~ a[aria-checked=true]):before{color:#a46d2f}
:where(#app) .native-review-form .stars a:focus-visible{outline:2px solid var(--pink);outline-offset:2px}

:where(#app) .ruler-insect{transform:none}

/* Supplied photographs: exact raster pixels, with cropping/mirroring in page code. */
:where(#app) .product-photo{background:#f7f7f7}
:where(#app) .mealworm-photo-crop{width:100%;aspect-ratio:506/374;overflow:hidden}
:where(#app) .mealworm-photo-crop img{display:block;width:100%;height:auto;aspect-ratio:auto;max-height:none;mix-blend-mode:darken}
:where(#app) .ruler-stage{background:#f7f7f7}
:where(#app) :is(.ruler-insect,.ruler-caterpillar){mix-blend-mode:darken}
@media(max-width:760px){:where(#app) .product-photo{display:flex;align-items:center}}
