/*
Theme Name: MrToys Christmas
Theme URI: https://mrtoys.com
Author: MrToys.com
Description: MrToys.com Christmas homepage from the second original picture only — dark Christmas green top bar with white links, white "Has Been In Business For Over 27 Years" bar with dark green lettering and the Top Categories dropdown at its far left in red, red Shop Now and Save hero (single hero picture, full-width train across the bottom) with a tall lit Christmas tree and gold star reaching up to the top bar, Featured Holiday Toys in red, centred live search with picture and price as you type, dark green Add to Cart buttons, red footer. WooCommerce friendly, responsive on iPhone, iPad and computer. No sale claims: no holiday sale, no up to 50% off, no free gift wrap, no limited-time offers.
Version: 2.40
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mrtoys-christmas
Tags: woocommerce, christmas, toys, responsive, custom-header, custom-menu
*/
/* 1.9.7: Titan One bundled locally (assets/fonts/TitanOne-Regular.ttf, OFL) so the
   red-hero MrToys.com wordmark does not depend on Google Fonts loading. */
/* 1.9.8: Great Vibes bundled locally (assets/fonts/GreatVibes-Regular.ttf, OFL) so the
   "Merry Christmas" script greeting does not depend on Google Fonts loading. */
/* 2.0: Lobster bundled locally (assets/fonts/Lobster-Regular.ttf, OFL) — replaces
   Great Vibes for "Merry Christmas". Great Vibes has no bold weight, its strokes are
   thin, so on red it read as grey; Lobster is thick by design. */
/* 2.40: local Lobster-Regular.ttf (397KB) DELETED — Lobster now loads only from Google Fonts in functions.php. */
:root{--mrtoys-red:#ff0000;--mrtoys-red-dark:#ff0000;--mrtoys-black:#111111;--mrtoys-green:#007a3d;--mrtoys-green-dark:#007a3d;--mrtoys-green-text:#005c2e;--mrtoys-navy:#12395b}
*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:hidden;width:100%;max-width:100%}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#222;background:#fff}
img,svg{max-width:100%;height:auto}
a{color:var(--mrtoys-red);text-decoration:none}
a:hover{text-decoration:underline}
main{display:block;clear:both;min-width:0}

/* Hide the old HFCM Snippet #1 "MrToys.com Banner" if it is still active.
   Its .mrtoys-banner { position:absolute } CSS floated a blue "ys.com"
   box over product titles. Deactivate that snippet too (see README.txt).
   Nothing in this theme uses these class names. */
.mrtoys-banner,.mrtoys-header,.mrtoysx-site-banner{display:none!important;position:static!important}

/* ---- Dark Christmas green top bar: FIRST element on the page, white links/text on green.
   1.9.3: links flush LEFT, star + MrToys.com logo at the FAR RIGHT end (above Santa). ---- */
.mrtoys185-topbar{background:var(--mrtoys-green-dark);color:#fff;display:flex;align-items:center;justify-content:flex-start;gap:16px;padding:12px 18px;flex-wrap:wrap;width:100%;max-width:100%;min-width:0}
.mrtoys185-logo{color:#fff!important;font-family:'Baloo 2','Fredoka','Comic Sans MS','Chalkboard SE',sans-serif;font-size:34px;font-weight:800;letter-spacing:.5px;white-space:nowrap;text-decoration:none!important;flex:0 0 auto;max-width:100%;margin-left:auto;text-shadow:0 2px 4px rgba(0,0,0,.45),0 0 14px rgba(255,255,255,.35)}
/* 1.9.6: EVERY "MrToys.com" wordmark site-wide in the same kids/cartoon font — Baloo 2, weight 800. Colour is inherited on purpose: bright white on the red footer / green top bar, dark green on the white since-bar. Used in footer.php (Follow us line + copyright line) and header.php (since-bar text). The hero brand and top-bar logo already have their own Baloo 2 rules. */
.mrtoys185-brand{font-family:'Baloo 2','Fredoka','Comic Sans MS','Chalkboard SE',sans-serif;font-weight:800;letter-spacing:.5px}
.mrtoys185-star{color:#fff;font-size:26px}
.mrtoys185-nav{flex:0 1 auto;display:flex;justify-content:flex-start;min-width:0}
.mrtoys185-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-start;max-width:100%}
.mrtoys185-nav a{color:#fff!important;padding:6px 14px;display:inline-block;font-size:19px;font-weight:900;letter-spacing:.3px;text-shadow:0 1px 2px rgba(0,0,0,.45);text-decoration:none!important;white-space:nowrap}
.mrtoys185-nav a:hover{text-decoration:underline!important}
.mrtoys185-icons{display:flex;align-items:center;gap:16px;margin-left:0;flex:0 0 auto}
/* 2.3: the account/cart icons now ride INSIDE the nav <ul> as its last
   <li> (see header.php), so they wrap in the same flow as the links and
   land on the second line next to "My account" on phone/tablet instead
   of on their own line below. The .mrtoys185-nav a rule below would give
   the icon links 6px 14px padding, inline-block and an underline on
   hover — this restores the icon look: no padding, inline-flex, never
   underlined. The 14px left margin reproduces the old 16px topbar gap
   (2px ul gap + 14px), so desktop spacing is unchanged. */
.mrtoys185-nav li.mrtoys185-icons{margin-left:14px}
.mrtoys185-nav a.mrtoys185-icon{display:inline-flex;padding:0;text-decoration:none!important}
.mrtoys185-nav a.mrtoys185-icon:hover{text-decoration:none!important}
.mrtoys185-icon{position:relative;display:inline-flex;align-items:center;text-decoration:none!important}
.mrtoys185-cart-count{position:absolute;top:-7px;right:-9px;background:#ff0000;color:#fff;font-size:11px;font-weight:700;line-height:1;min-width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:2px}

/* ---- 1.8.8: WHITE SINCE-BAR, Title Case — white background, dark green bold
        lettering. 1.9.5: the red Top Categories bar is GONE. Top Categories
        now lives INSIDE this white bar, all the way to the LEFT, in RED
        lettering. The since-text stays centred across the FULL bar width
        (absolute, so the toggle does not push it right under the tree
        star). No grey bar anywhere. ---- */
.mrtoys185-sincebar{background:#fff;color:#005c2e;font-weight:900;font-size:19px;padding:9px 16px;width:100%;max-width:100%;line-height:1.35;display:flex;align-items:center;gap:16px;position:relative;z-index:200;flex-wrap:wrap}
.mrtoys185-since-text{position:absolute;left:16px;right:16px;top:50%;transform:translateY(-50%);text-align:center;min-width:0;pointer-events:none;z-index:1}
.mrtoys185-cats{position:relative;z-index:2}

/* ---- 1.9.5: Top Categories in the WHITE bar — RED font, bold, on white.
        The old red .mrtoys185-catbar is DELETED; there is no red bar below
        the white bar any more. The dropdown itself is unchanged. ---- */
.mrtoys185-cats{position:relative;flex:0 0 auto;max-width:100%}
.mrtoys185-cats-toggle{color:#ff0000!important;font-family:'Baloo 2','Fredoka','Comic Sans MS','Chalkboard SE',sans-serif;font-weight:800;font-size:20px;cursor:pointer;padding:6px 8px;display:inline-block;text-decoration:none!important;white-space:nowrap}
.categories-dropdown-menu{background:#fff;color:#222;min-width:300px;max-width:92vw;max-height:70vh;overflow-y:auto;box-shadow:0 8px 24px rgba(0,0,0,.25);border-radius:6px;padding:8px 0;position:absolute;left:0;top:100%;z-index:200;display:none;text-align:left}
.mrtoys185-cats:hover .categories-dropdown-menu,
.mrtoys185-cats:focus-within .categories-dropdown-menu,
.mrtoys185-cats.mrtoys185-cats-open .categories-dropdown-menu{display:block}
.categories-dropdown-menu ul{list-style:none;margin:0;padding:0}
.categories-dropdown-menu a{color:#222;display:block;padding:8px 16px}
.categories-dropdown-menu ul.mrtoys-subcats{margin:2px 0 6px 18px;padding-left:12px;border-left:1px solid #e5e5e5}
.categories-dropdown-menu li.mrtoys-has-children > a{font-weight:700}

/* ---- 1.8.8 HERO: ONE single red hero picture (assets/hero.jpg: white
        "Shop Now and Save / Great Toys for Everyone" text IN the picture,
        full-width train across the bottom) + ONE full tree (assets/tree.png,
        cut from the second picture with a tree-shaped mask: apex and gold
        star at the top, full foliage down to the caboose roof, no box
        behind it). The partial tree that was baked into hero.jpg has been
        painted out COMPLETELY in 1.8.9 (whole tree zone, flat #ff0000; re-verified in 1.9.0: 0 green pixels in the old tree zone x>850, y<185 — the only green left in hero.jpg is the garland on the train), so there is exactly ONE tree.
        The tree reaches up toward the top bar: it starts 48% of the hero
        height above the hero and ends at the caboose roof, 98% of the hero
        height tall in total. hero.jpg's red background behind the text was
        recoloured to pure #ff0000 so it matches the Top Categories bar.
        Text is IN the hero image, so it cannot drift or crop. ---- */
.mrtoys185-hero{width:100%;max-width:100%;margin:0 0 0;padding:0;line-height:0;position:relative;overflow:visible;background:#ff0000;z-index:1;aspect-ratio:1020/246}
.mrtoys185-hero-img{display:block;width:100%;height:auto;max-width:100%}
/* 1.8.8: search bar in the hero top, where the grey strip was — you can type in it right there. */
.mrtoys185-hero-search{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:min(640px,66%);z-index:70;line-height:1.2;margin-left:0;margin-right:0}
.mrtoys185-hero-search .mrtoys185-live-results{left:0;right:0}
/* 1.9.0 full tree: single tree image, apex + gold star at the top, bottom
   at the train-car roofs. Height 100% of the hero, top 24% above the hero, so
   the star sits up in the white since-bar and the foliage reaches down to
   the car roofs, hiding its straight-cut bottom edge behind the garland.
   The tree's red mask background was made transparent, so no red flag shows
   in the white bar. Right 190px (moved left from 40px in 1.9.0) to make room
   for Santa on the far right, and its right edge is never sliced. */
.mrtoys185-tree{position:absolute;right:190px;top:-24%;height:100%!important;width:auto!important;max-width:none!important;max-height:none!important;z-index:66;pointer-events:none}
/* 1.9.1 Santa Claus TALLER, on the RIGHT of the tree on the far right of
   the hero: same full-body Santa (assets/santa.png, generated, green-screen
   chroma-keyed to a transparent background — no box behind him). He stands
   on the train band at the bottom of the hero, fully inside the page:
   right 6px, height 68% of the hero, bottom 32% — 2.38: his feet now sit just
   ABOVE the train instead of on it (the train top is ~32% up from the hero
   bottom), so his big boots no longer cover/squish the train on any page.
   His head still sits at the top of the hero, even with the search box.
   The tree is UNCHANGED in 2.38. */
.mrtoys185-santa{position:absolute;right:6px;bottom:32%;height:68%!important;width:auto!important;max-width:none!important;max-height:none!important;z-index:67;pointer-events:none;display:block}
/* 1.9.9 HERO BRAND — REVERTED to the ORIGINAL font: Nick does not like the
   Titan One cartoon font left of the search box. The original, before the
   kids/cartoon fonts (1.9.2), was plain Arial/Helvetica bold sans — the body
   font. So this is back to font-family Arial, Helvetica, sans-serif, 48px
   (Arial at 48px cleared the search box in 1.9.3 — right edge x323, search
   starts x320 in a 1280px render — while Titan One at 48px was 320px wide
   and overlapped it), weight 800, pure #ffffff, same top-left spot left of
   the search box, dark-only shadow (the white glow is gone too), still a
   link to the homepage. Titan One's font file and @font-face are left in
   place harmlessly (nothing else uses Titan One now) — nothing deleted.
   Top green bar logo, white since-bar and footer wordmarks stay Baloo 2 —
   ONLY the red-hero one reverts. */
.mrtoys185-hero-brand{position:absolute;left:16px;top:12px;font-family:Arial,Helvetica,sans-serif;font-size:48px;font-weight:800;color:#ffffff!important;letter-spacing:.5px;line-height:1;white-space:nowrap;z-index:68;pointer-events:auto;text-decoration:none!important;text-shadow:0 3px 0 rgba(0,0,0,.35),0 5px 14px rgba(0,0,0,.7)}
.mrtoys185-hero-brand:hover{color:#ffffff!important;text-decoration:none!important}
/* 1.9.8 "Merry Christmas" — signature/script greeting in the red hero, in the
   gap between the tree and Santa, on TWO lines ("Merry" over "Christmas").
   Measured from the rendered 1.9.7 hero at 1280px wide: the tree's visible
   foliage right edge runs x~935 (top) to x~1000 (mid-hero) and Santa's visible
   left edge runs x~1106 (raised hand, top) to x~1140+ (body) — so the clean
   strip is roughly x 1000–1140, y 55–135 inside the hero. This block sits at
   left:975px, top:55px, 170px wide, text centred, so the glyphs land about
   x 1000–1125: clear of the tree, clear of Santa's hand/body, clear of the
   search box (ends x960) and clear of "Shop Now and Save" (baked into
   hero.jpg, far left). 1.9.9: 38px Great Vibes (was 32px — a tinge bigger at
   Nick's request), bright white, stronger dark shadow only so it pops and
   stays crisp on the red (no white glow halo — a white glow washed white
   text out in 1.9.7). z-index 67 — same layer as Santa, below the
   search (70) and hero brand (68), above the tree (66). It is NOT a link.
   On small screens (<=1024px) it shrinks to 30px at the top-right of the
   hero, between the (much narrower) tree and Santa. 2.0: Lobster (was Great
   Vibes) at 48px — Great Vibes has NO bold weight, its strokes are thin, so on
   red with a dark blur shadow it read as grey, not bold white, no matter the
   size. Lobster is thick by design. NO blurred text-shadow at all now — blur
   is what greyed the edges; instead a thin crisp dark outline only
   (-webkit-text-stroke 1px rgba(0,0,0,.65), paint-order stroke fill), so the
   white stays solid and the edges stay crisp. */
.mrtoys185-merry{position:absolute;left:auto;right:115px;top:50px;width:200px;text-align:center;font-family:'Lobster',cursive;font-size:48px;font-weight:400;line-height:1.05;color:#ffffff!important;z-index:67;pointer-events:none;text-shadow:none;-webkit-text-stroke:1px rgba(0,0,0,.65);paint-order:stroke fill;transform:rotate(-4deg)}
/* 1.9.0: presents pile REMOVED at Nick's request — it looked bad. No
   presents anywhere in the hero; the left of the hero is clean red. */
/* ---- Homepage content: heading sits FULLY BELOW the hero, never overlapping it (1.8.8: moved up a little — 16px wrap padding + 12px heading margin) ---- */
.mrtoys-wrap{max-width:1200px;width:100%;margin:0 auto;padding:16px 16px 24px;clear:both;min-width:0}
.mrtoys185-featured{text-align:center;color:var(--mrtoys-red);font-size:30px;margin:12px 0 8px}

/* ---- Search: preview style. Centred white input directly under
        "Featured Holiday Toys". NO light-blue background, NO heading,
        NO red Search button — just the input with a magnifier, and a
        dropdown with picture + price when typing. ---- */
.mrtoys185-search{max-width:640px;width:100%;margin:18px auto 28px;position:relative;text-align:center}
.mrtoys185-live-search-form{display:flex;max-width:640px;width:100%;margin:0 auto;position:relative}
.mrtoys185-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);pointer-events:none;color:#777;z-index:2;display:flex}
.mrtoys185-live-search-form input{flex:1;width:100%;min-width:0;padding:14px 14px 14px 44px;font-size:18px;border:2px solid #ddd;border-radius:6px;background:#fff;color:var(--mrtoys-green-text)}
/* 1.9.5: search placeholder AND typed text in dark green — the same dark
   green (#005c2e) as the "Has Been In Business For Over 27 Years" lettering
   in the white bar, so it reads on the white search box. */
.mrtoys185-live-search-form input::placeholder{color:var(--mrtoys-green-text);opacity:1}
.mrtoys185-live-search-form input::-webkit-input-placeholder{color:var(--mrtoys-green-text);opacity:1}
.mrtoys185-live-search-form input::-moz-placeholder{color:var(--mrtoys-green-text);opacity:1}
.mrtoys185-live-search-form input:-ms-input-placeholder{color:var(--mrtoys-green-text);opacity:1}
.mrtoys185-live-search-form input:focus{outline:none;border-color:var(--mrtoys-red)}
.mrtoys185-live-results{display:none;max-width:640px;width:100%;margin:6px auto 0;text-align:left;background:#fff;border:1px solid #ddd;border-radius:6px;overflow:hidden;position:absolute;left:0;right:0;top:100%;z-index:30;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.mrtoys185-live-results.has-results{display:block}
.mrtoys-live-item{display:flex;gap:10px;align-items:center;padding:8px 10px;color:#222;text-decoration:none!important}
.mrtoys-live-item:hover{background:#f5f5f5}
.mrtoys-live-item img{width:48px;height:48px;object-fit:cover;border-radius:4px;flex:0 0 auto}
.mrtoys-live-item .mrtoys-live-arrow{margin-left:auto;color:#999;font-size:20px}

/* ---- Product grid: override WooCommerce's old float layout or titles
        squeeze into one word per line. Cards never crop left/right. ---- */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important}
.woocommerce ul.products::before,.woocommerce ul.products::after,.woocommerce-page ul.products::before,.woocommerce-page ul.products::after{display:none!important;content:none!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;max-width:100%!important;float:none!important;margin:0!important;clear:none!important;border:1px solid #e5e5e5;border-radius:10px;padding:14px;text-align:center;list-style:none;min-width:0;box-shadow:0 2px 8px rgba(0,0,0,.08);display:flex;flex-direction:column;overflow:hidden}
.woocommerce ul.products li.product img{width:100%!important;height:auto!important;display:block;margin:0 auto 10px}
.woocommerce ul.products li.product .woocommerce-loop-product__link{display:block;flex:1;min-width:0}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:break-word;word-break:break-word;padding:0!important;color:#12395b}
.woocommerce ul.products li.product .price{font-size:17px;color:#222;font-weight:700}
/* WIDE, LONG dark green Add to Cart — same dark green as the top bar (#007a3d), full width of the card. */
.woocommerce ul.products li.product .button,.mrtoys-addtocart,.woocommerce ul.products li.product .add_to_cart_button{background:#007a3d!important;color:#fff!important;border:0;padding:16px 32px!important;border-radius:6px;font-weight:700;font-size:17px!important;cursor:pointer;display:block;width:100%!important;min-width:180px;text-align:center;margin-top:auto}
.woocommerce ul.products li.product .button:hover,.mrtoys-addtocart:hover{background:#007a3d!important}
.woocommerce div.product form.cart .button.single_add_to_cart_button{background:#007a3d!important;color:#fff!important;border:0;padding:16px 32px!important;font-size:18px!important;min-width:200px}
.woocommerce div.product{clear:both;max-width:100%}
.woocommerce div.product .product_title{clear:both;line-height:1.25}

.mrtoys185-page-title{color:var(--mrtoys-navy);font-size:30px;line-height:1.25;margin:8px 0 16px}

/* ---- 1.8.8 Bright red footer — brighter/lighter so the white text stands out on the red.
   1.9.3: ALL footer text is now pure bold white #ffffff !important (no grey
   anywhere), slightly larger, with a stronger dark shadow so it pops. ---- */
/* 2.0 FOOTER — BOLD WHITE, NO GREY: root cause — the dark BLUR shadow
   (0 2px 6px rgba(0,0,0,.75)) fuzzied/greyed the white edges, so the footer
   still read grey even at pure #ffffff / weight 900. ALL text-shadow is now
   REMOVED from every footer selector, size goes up 28px -> 32px (social
   labels 26px -> 30px), weight 900, pure #ffffff on every footer selector,
   no grey anywhere. Footer stays red #ff0000, all text/links kept. */
.mrtoys-footer{background:#ff0000;color:#ffffff!important;text-align:center;padding:28px 16px;clear:both;font-size:32px;font-weight:900;line-height:1.5;width:100%;max-width:100%;text-shadow:none}
.mrtoys-footer a{color:#ffffff!important}
.mrtoys185-follow{margin:0;color:#ffffff!important;font-weight:900;text-shadow:none}
.mrtoys185-soc{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;color:#fff!important;font-weight:900;font-size:22px;margin:0 6px;text-decoration:none!important;vertical-align:middle;border:3px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.mrtoys185-soc-fb{background:#1877f2}
.mrtoys185-soc-yt{background:#c00;font-size:18px}
.mrtoys185-soc-pin{background:#e60023}
.mrtoys185-soc-label{color:#ffffff!important;font-size:30px;font-weight:900;text-shadow:none;margin:0 10px 0 2px;vertical-align:middle;text-decoration:none!important}
.mrtoys185-copy{margin-left:8px;color:#ffffff!important;font-weight:900;text-shadow:none}
/* 1.9.4: the About Us link in the copyright line must match the rest of the footer — pure bold white, no grey. */
.mrtoys185-copy a{color:#ffffff!important;font-weight:900!important;text-decoration:none!important}

/* ---- iPad (641–1024px): Top Categories stays visible, dropdown opens on tap ---- */
@media (max-width:1024px){
  .mrtoys185-cats{display:block}
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* ---- 2.1 Tablet / small laptop (<=1279px): the centred 66%-wide search
   box and the 48px MrToys.com brand overlap below ~1280px (at 768px the
   search started at x131 while the brand ends at x300, so the search
   covered "ys.com"), and "Merry Christmas" was positioned with a FIXED
   left:965px, so at 768px it sat at x962-1168 — completely off the right
   edge, invisible. Fixes, desktop (1280px+) unchanged:
   - Brand 48px -> 36px, so it ends well before the search box.
   - Search is right-aligned instead of centred (width 55%, max 480px),
     so it clears the brand at every width 601-1279px.
   - Merry Christmas is positioned from the RIGHT (right:105px) instead of
     a fixed left, so it stays in the gap between tree and Santa at every
     width; 32px so its "Christmas" ink (~125px) fits that gap. */
@media (max-width:1279px){
  .mrtoys185-hero-brand{font-size:36px}
  .mrtoys185-hero-search{left:auto;right:12px;transform:none;width:min(480px,55%)}
  .mrtoys185-merry{font-size:32px;width:140px;right:105px;left:auto;top:38px}
}
/* ---- Phone ---- */
@media (max-width:768px){
  .mrtoys185-topbar{flex-direction:column;align-items:flex-start;gap:8px}
  .mrtoys185-logo{white-space:normal;font-size:26px;margin-left:auto}
  .mrtoys185-nav{justify-content:flex-start;width:100%}
  .mrtoys185-nav ul{justify-content:flex-start}
  .mrtoys185-nav a{white-space:normal}
  .mrtoys185-icons{margin-left:0}
  /* 1.9.5 phone: since-text goes back into flow under Top Categories so
     it cannot run underneath the toggle on a narrow screen. */
  .mrtoys185-since-text{position:static;transform:none;flex:1 1 100%;text-align:center;pointer-events:auto}
  .categories-dropdown-menu{position:static;max-height:none;box-shadow:none;width:100%;max-width:100%}
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:600px){
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(1,minmax(0,1fr))!important;gap:16px!important}
  .woocommerce ul.products li.product .button{min-width:0}
  .mrtoys185-featured{font-size:24px}
  /* 1.9.0 phone: the hero is only ~94px tall at 390px wide, so the
     absolute search box would cover "Shop Now and Save". On phones the
     search drops BELOW the hero picture on its own red strip instead.
     The tree and Santa scale with the hero, star and all. */
  .mrtoys185-hero-search{position:relative;left:0;transform:none;width:100%;max-width:100%;margin:0;padding:10px 12px;background:#ff0000}
  /* 2.1 phone: search input 18px -> 14px so the full placeholder
     "Search Toys, Trains, Sport Cards, And More" fits on a 390px phone
     (at 18px it was cut off after "Sport Cards, Ai"). */
  .mrtoys185-live-search-form input{font-size:14px;padding:12px 10px 12px 40px}
  /* 2.1 phone: brand 28px -> 22px, top 8px -> 4px, so it clears the top
     of the baked "Shop Now and Save" text in hero.jpg (at 28px it sat
     directly on top of "Shop"). */
  .mrtoys185-hero-brand{font-size:22px;left:10px;top:4px}
  /* 2.1 phone: the tree is positioned with a FIXED right:190px, so as the
     hero scales down to 390px the tree's wide foliage ends up covering the
     middle of the baked "Shop Now and Save" / "Great Toys for Everyone"
     text. Shrinking it to 70% around its centre keeps the star in the
     white bar and the base hidden behind the search box, and cuts that
     cover roughly in half; "Merry Christmas" then clears the tree. */
  .mrtoys185-tree{transform:scale(.7);transform-origin:center}
  /* 2.0 phone: Merry Christmas shrinks to 30px (was 24px) and sits
     top-right between the (narrow) tree and Santa, inside the hero, so it
     cannot cover the search strip below the hero. */
  .mrtoys185-merry{left:185px;right:auto;top:18px;width:150px;font-size:30px;transform:rotate(-4deg)}
}

/* ---- 1.8.8 Categories page: TEXT LINKS ONLY, no pictures/placeholders ---- */
/* 1.9.7: catalog/categories pages are TEXT LINKS ONLY — no picture placeholders, ever.
   WooCommerce renders a grey placeholder <img class="woocommerce-placeholder"> when a
   category has no thumbnail; the 1.9.6 rule hid li.product-category img, but this
   strengthened rule also hides img.woocommerce-placeholder / .woocommerce-placeholder
   anywhere on shop, category and search archive pages, plus any category-tile image. */
.woocommerce ul.products li.product-category img,.woocommerce ul.products li.product-category a img,li.product-category img,li.product-category a img,.product-category img,img.woocommerce-placeholder,.woocommerce-placeholder,.woocommerce ul.products li.product-category .attachment-woocommerce_thumbnail{display:none!important;width:0!important;height:0!important}
.woocommerce ul.products li.product-category a::before{display:none!important}
.woocommerce ul.products li.product-category{border:0!important;box-shadow:none!important;padding:8px 0!important;text-align:left!important;min-height:0!important}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title,.woocommerce ul.products li.product-category h2{color:var(--mrtoys-red)!important;font-size:18px!important}
mark,.woocommerce ul.products li.product-category mark,.woocommerce ul.products li.product-category .count,.count{background:transparent!important;color:inherit!important;padding:0!important}
/* ---- 1.8.8 Product page: no cut-off titles / text ---- */
.woocommerce div.product{max-width:100%;overflow-wrap:break-word}
.woocommerce div.product .summary{max-width:100%;min-width:0;overflow-wrap:break-word}
.woocommerce div.product .product_title{font-size:28px!important;white-space:normal!important;overflow-wrap:break-word;word-break:break-word;max-width:100%}
.woocommerce div.product form.cart{flex-wrap:wrap;gap:10px;max-width:100%}
.woocommerce div.product .woocommerce-product-gallery{max-width:100%}

/* ---- 2.2 PHONE + TABLET — FLEXIBLE, NOT SQUISHED ----
   Root cause of the 2.1 squish: hero.jpg is 1020x246, so at 390px wide
   the hero is only ~94px tall, and every hero element was absolutely
   positioned with desktop pixel values into that thin strip — brand on
   top of "Shop Now and Save", Merry Christmas crowding tree and Santa,
   search cramped, tree/train tiny. The fix is to let the top section
   grow tall and stack its pieces instead of squeezing the desktop
   layout. DESKTOP (1280px+) IS UNCHANGED — nothing in this block
   applies above 1024px, and nothing above changes. */
@media (max-width:1024px){
  /* Tablet: search wider (58%) with smaller input text so the full
     placeholder "Search Toys, Trains, Sports Cards, Games, And More"
     fits instead of cutting off at "And Mor...". At 768px the box is
     445px wide, starting x311 — clear of the 36px brand (ends ~x231). */
  .mrtoys185-hero-search{width:min(520px,58%)}
  .mrtoys185-live-search-form input{font-size:15px}
  /* Tablet: the tree stays at right:190px (as in 2.1) — moving it left
     to right:260px in the first 2.2 pass covered "Save" in the baked
     "Shop Now and Save" text, a regression caught in the render check.
     "Merry Christmas" moves DOWN below the search box (top:64px — the
     search box bottom is ~y57 at tablet heights, and at top:34px the
     "Merry" line sat behind the white search box) and shrinks to 24px
     so its "Christmas" ink (~94px) fits the gap between the tree
     foliage and Santa.
     2.3: the star + MrToys.com logo (.mrtoys185-logo) is HIDDEN on phone
     and tablet (<=1024px) at Nick's request — desktop (1280px+) keeps it
     exactly as in 2.2. The account/cart icons now ride inside the nav
     <ul> as its last item, so they wrap with the links onto the second
     line next to "My account" instead of sitting on their own line below.
     With both lines gone, the green bar's padding is tightened (12px ->
     8px vertical) so the bar hugs its links instead of leaving a big
     empty gap. Link order and the icons themselves are unchanged. */
  .mrtoys185-logo{display:none}
  .mrtoys185-topbar{padding:8px 14px}
  /* 2.35: icons to the FAR RIGHT corner of the second line on phone and
     tablet — "My account" stays all the way LEFT. The icons <li> is the
     last item in the nav flow; margin-left:auto absorbs the free space
     on whichever line it wraps to and pushes the two icons to the bar's
     right edge, while the links stay left. The nav is made full width
     here so the right edge is the bar's right edge, not the width of
     the longest link line. Desktop keeps its 14px margin (base rule),
     unchanged. */
  .mrtoys185-nav{width:100%}
  .mrtoys185-nav li.mrtoys185-icons{margin-left:auto}
  .mrtoys185-tree{right:190px}
  .mrtoys185-santa{height:68%;bottom:32%}
  .mrtoys185-merry{font-size:24px;width:140px;right:90px;left:auto;top:64px}
}
@media (max-width:600px){
  /* Phone: the hero grows tall (340px) in its red background instead of
     staying a 94px strip. The picture stays full-width at the top, then
     the pieces stack in the red space below it, each on its own room. */
  .mrtoys185-hero{min-height:340px}
  /* Brand on its own centred line below the picture (was 22px at
     top:4px, sitting directly on top of the baked "Shop Now" text). */
  .mrtoys185-hero-brand{left:0;right:0;top:100px;width:100%;display:block;text-align:center;font-size:32px}
  /* Tree and Santa shrink and sit at the bottom of the tall hero,
     flanking the greeting instead of crowding the baked text. */
  .mrtoys185-tree{transform:none;height:140px;top:auto;bottom:58px;left:10px;right:auto}
  .mrtoys185-santa{height:160px;top:auto;bottom:58px;right:8px}
  /* Greeting centred between tree and Santa (was fixed left:185px at
     30px, crowding both). 2.3 phone only: 24px -> 32px, box widened
     150px -> 175px so "Christmas" at 32px fits without wrapping; top
     stays 178px, still clear of the tree, Santa and the search strip
     below (checked in the render — see README). Tablet/desktop
     "Merry Christmas" unchanged. */
  .mrtoys185-merry{left:50%;right:auto;top:178px;width:175px;font-size:32px;transform:translateX(-50%) rotate(-4deg)}
  /* Search pins to the bottom of the tall hero, full-width, instead of
     a cramped relative strip. top:auto is REQUIRED: the base rule sets
     top:8px, and with both top and bottom set an absolute box stretches
     to fill — in the first 2.2 render the search div stretched 332px
     tall and its red background covered the picture, brand, tree,
     Santa and greeting. With top:auto it is only as tall as its form. */
  .mrtoys185-hero-search{position:absolute;top:auto;bottom:0;left:0;right:0;transform:none;width:100%;max-width:100%;margin:0;padding:10px 12px;background:#ff0000}
  .mrtoys185-live-search-form input{font-size:12px;padding:12px 8px 12px 36px}
  /* Green-bar links smaller so they wrap in 2 clean lines, not 3.
     2.3 phone: green bar padding tightened further (8px -> 6px
     vertical) now the star + MrToys.com line is gone, so the bar hugs
     its links with no dead space. Links 16px -> 15px, padding 4px 8px ->
     4px 6px — the smallest change that lets the links plus the icons
     (now the last item in the nav flow) fit on exactly 2 lines at 390px:
     line 1 Home Shop Categories Cart Checkout, line 2 Policies Contact
     Us My account + both icons. Measured in the render (see README).
     Links stay bold and readable; tablet/desktop sizes unchanged. */
  .mrtoys185-topbar{padding:6px 12px;gap:4px}
  .mrtoys185-nav a{font-size:15px;padding:4px 6px}
  .mrtoys185-logo{font-size:24px}
  /* 2.35 phone: the white since-bar line must fit on ONE line — in 2.3
     "27 Years" wrapped alone onto a second line. 16px -> 13px plus
     no-wrap (and 10px side padding on the bar) keeps "Years" spelled
     out; only fall back to "YRS" if it still will not fit (see render
     check). Tablet/desktop since-bar unchanged. */
  .mrtoys185-sincebar{padding:9px 10px}
  .mrtoys185-since-text{font-size:13px;white-space:nowrap}
  .mrtoys185-cats-toggle{font-size:18px}
  /* Footer smaller on phone (was 32px + 30px labels, wrapping into
     ten-plus lines) with the social labels inline. */
  .mrtoys-footer{font-size:21px;padding:20px 12px}
  .mrtoys185-soc-label{font-size:18px}
  .mrtoys185-soc{width:40px;height:40px;font-size:18px}
}

/* ---- 2.37 TABLET ONLY (601-1024px): centre "My account" + both icons
   together in the middle of the green bar's second line (Nick, 2026-11-16
   ~22:29 EST voice — reviewed the 2.35 tablet preview; Nick named this
   version 2.37 himself).
   In 2.35 the second line has "My account" all the way left and the two
   icons pushed to the far right corner (margin-left:auto on the icons
   <li>). Here the free space on that line is split equally either side of
   the group instead: margin-left:auto on the "My account" <li> (new
   .mrtoys185-myaccount class in header.php) and margin-right:auto on the
   icons <li> centre the two items as one group. Auto margins only apply
   within their own flex line, so the first line of 7 links is untouched
   and stays left-aligned. The rule must come AFTER the <=1024px block
   (same specificity, later wins) and the query starts at 601px, so the
   phone (<=600px) keeps "My account" left and the icons at the far right
   corner, and desktop (1280px+) is unchanged. */
@media (min-width:601px) and (max-width:1024px){
  .mrtoys185-nav li.mrtoys185-myaccount{margin-left:auto}
  .mrtoys185-nav li.mrtoys185-icons{margin-left:0;margin-right:auto}
}

/* ---- 2.38 STREAMLINE + SANTA FEET FIX (every page) ----
   Root cause of the live bug Nick reported: Santa was height:120%, bottom:0,
   so his boots sat ON the train and covered the caboose — on the homepage
   the Featured section below distracted from it, on every other page the
   train is the last thing before the page content, so the boots squishing
   it stood out. He is now height:68%, bottom:32% on desktop AND tablet,
   so his feet sit just above the train on every page, head still at the
   top of the hero even with the search box. The max-width:none below stops
   WooCommerce's img{max-width:100%;height:auto} rules (loaded on shop /
   product / category pages, not the same way on the homepage) from
   stretching Santa or the tree on inner pages. Phone (<=600px) unchanged:
   Santa 160px, bottom 58px in the tall 340px hero — feet already clear
   of the train picture there.
   Streamline: santa.png 906x1976 / 1.5MB -> 360x785 optimised; unused
   Great Vibes (447KB) + Titan One (55KB) font files deleted; Google Fonts
   trimmed from 5 families to Baloo 2 + Lobster only (see functions.php).
   Zip 2.2MB -> ~1.2MB. */
.mrtoys185-hero .mrtoys185-santa,.mrtoys185-hero .mrtoys185-tree{max-width:none!important}

/* ---- 2.39 TOP CATEGORIES DROPDOWN FIX ----
   See the z-index changes above (since-bar 60 -> 200, hero z-index 1,
   menu z-index 200). The rule below is the second half: the menu is
   pulled 2px UP over the toggle's bottom edge, so there is no dead gap
   between "Top Categories" and the menu for the mouse to fall through.
   With both halves, hovering the toggle, moving down into the menu and
   clicking a category all keep :hover on .mrtoys185-cats, so the menu
   stays open until you click. Verified in the local render with a real
   mouse move (see README). */
.mrtoys185-cats:hover .categories-dropdown-menu{margin-top:-2px}

/* ---- 2.40 UNIFORM HERO ON EVERY PAGE + STREAMLINE ----
   ROOT CAUSE FOUND (this is why the homepage looked right and every other
   page did not): WooCommerce loads its own stylesheet on Shop / product /
   category / cart / checkout pages, with a rule like
   .woocommerce img { height:auto; max-width:100% }.
   That is class+element, so it BEATS the theme's single-class
   .mrtoys185-santa { height:68% } rule. Santa therefore rendered at his
   NATURAL size, 360x785, on every WooCommerce page — huge, feet on the
   train, covering the tree. The homepage is not a WooCommerce page, so
   it kept the 68% size and looked right.
   FIX, last in this file so it wins the cascade: the same sizes, but
   scoped to body / body.woocommerce and with !important on height,
   width, top, bottom and right, for Santa, the tree and the hero picture.
   The hero also gets aspect-ratio:1020/246 above, so its height is the
   same on every page whether the image has loaded or not. Homepage is
   the model: green bar, white bar, red hero — same header.php hero on
   every page, same sizes, no duplication in front-page.php.
   STREAMLINE: local Lobster-Regular.ttf deleted (397KB, now Google Fonts
   only); santa.png resized 360x785 -> 300x654 and optimised; hero.jpg
   recompressed. Zip about 810KB -> about 400KB, fewer bytes per page. */
body .mrtoys185-hero img.mrtoys185-hero-img,body.woocommerce .mrtoys185-hero img.mrtoys185-hero-img{width:100%!important;height:auto!important;display:block!important;max-width:none!important}
body .mrtoys185-hero img.mrtoys185-santa,body.woocommerce .mrtoys185-hero img.mrtoys185-santa,body.woocommerce-page .mrtoys185-hero img.mrtoys185-santa{position:absolute!important;right:6px!important;bottom:32%!important;top:auto!important;height:68%!important;width:auto!important;max-width:none!important;max-height:none!important;z-index:67!important}
body .mrtoys185-hero img.mrtoys185-tree,body.woocommerce .mrtoys185-hero img.mrtoys185-tree,body.woocommerce-page .mrtoys185-hero img.mrtoys185-tree{position:absolute!important;right:190px!important;top:-24%!important;bottom:auto!important;height:100%!important;width:auto!important;max-width:none!important;max-height:none!important;z-index:66!important}
@media (max-width:1024px){
  body .mrtoys185-hero img.mrtoys185-santa,body.woocommerce .mrtoys185-hero img.mrtoys185-santa{height:68%!important;bottom:32%!important;top:auto!important}
  body .mrtoys185-hero img.mrtoys185-tree,body.woocommerce .mrtoys185-hero img.mrtoys185-tree{height:100%!important;top:-24%!important;right:190px!important}
}
@media (max-width:600px){
  body .mrtoys185-hero img.mrtoys185-santa,body.woocommerce .mrtoys185-hero img.mrtoys185-santa{height:160px!important;bottom:58px!important;top:auto!important;right:8px!important}
  body .mrtoys185-hero img.mrtoys185-tree,body.woocommerce .mrtoys185-hero img.mrtoys185-tree{height:140px!important;bottom:58px!important;top:auto!important;left:10px!important;right:auto!important;transform:none!important}
}
