#ysm-infant-toddler{max-width:1240px;margin:24px auto;padding:24px;font-family:inherit;color:#14333e}#ysm-infant-toddler *{box-sizing:border-box}#ysm-infant-toddler [hidden]{display:none!important}#ysm-infant-toddler header{text-align:center;margin:10px auto 30px;max-width:760px}#ysm-infant-toddler h1{font-size:clamp(32px,5vw,54px);margin:8px 0}#ysm-infant-toddler .baby-eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#157f83;font-weight:800}#ysm-infant-toddler .baby-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}#ysm-infant-toddler .baby-preview{position:sticky;top:24px;background:#f5f2eb;border-radius:20px;padding:15px}#ysm-infant-toddler canvas{width:100%;height:auto;display:block}#ysm-infant-toddler .baby-preview-note{font-size:13px;text-align:center}#ysm-infant-toddler label{display:block;font-weight:650;margin:0 0 14px}#ysm-infant-toddler input:not([type=color]),#ysm-infant-toddler select{display:block;width:100%;min-height:43px;padding:9px;border:1px solid #bacbce;border-radius:7px;margin-top:5px;background:#fff;color:#14333e}#ysm-infant-toddler button{border:1px solid #8faeb1;border-radius:9px;padding:10px 16px;background:#fff;color:#14333e;font:inherit;cursor:pointer}#ysm-infant-toddler button:disabled{opacity:.5;cursor:not-allowed}#ysm-infant-toddler button:focus-visible{outline:3px solid #08a7d6;outline-offset:3px}#ysm-infant-toddler .baby-tabs{display:flex;gap:10px;margin:20px 0}#ysm-infant-toddler .baby-tabs button{flex:1}#ysm-infant-toddler [aria-pressed=true],#ysm-infant-toddler .baby-add{background:#087c83;color:white;font-weight:bold}#ysm-infant-toddler .baby-add{width:100%;font-size:19px}#ysm-infant-toddler .baby-designs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:400px;overflow:auto;padding:4px}#ysm-infant-toddler .baby-designs button{padding:8px;font-size:12px;overflow:hidden}#ysm-infant-toddler .baby-designs img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#e6e7e8;border-radius:5px;margin-bottom:5px}#ysm-infant-toddler .baby-more{display:block;margin:14px auto}#ysm-infant-toddler .baby-custom,#ysm-infant-toddler .baby-admin{padding:18px;margin-top:16px;border:1px solid #d6e0df;border-radius:10px;background:#f6f9f8}#ysm-infant-toddler .baby-price{font-size:23px;font-weight:bold}#ysm-infant-toddler .baby-status{min-height:26px}#ysm-infant-toddler input[type=range]{padding:0}#ysm-infant-toddler input[type=color]{display:block;width:100%;height:36px}@media(max-width:760px){#ysm-infant-toddler{padding:12px}#ysm-infant-toddler .baby-layout{grid-template-columns:1fr}#ysm-infant-toddler .baby-preview{position:static;max-width:450px;width:100%;margin:auto}#ysm-infant-toddler .baby-designs{grid-template-columns:repeat(3,1fr)}}
#ysm-infant-toddler .baby-collection-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:24px 0}#ysm-infant-toddler .baby-collection-toolbar label{flex:1;min-width:180px;margin:0}#ysm-infant-toddler .baby-start-custom{min-height:44px;background:#087c83;color:#fff;font-weight:bold}#ysm-infant-toddler .baby-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}#ysm-infant-toddler .baby-card{padding:0 0 18px;overflow:hidden;text-align:left;border:1px solid #d5dfde;border-radius:16px;background:#fff;box-shadow:0 4px 14px #163a3d09;transition:transform .18s,box-shadow .18s}#ysm-infant-toddler .baby-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px #163a3d20}#ysm-infant-toddler .baby-card canvas{aspect-ratio:1;background:#f3f0e9;padding:16px;border-bottom:1px solid #e2e6e1}#ysm-infant-toddler .baby-card strong{display:block;padding:16px 16px 6px;font-size:18px;line-height:1.3}#ysm-infant-toddler .baby-card>span{display:block;padding:0 16px;color:#337078;font-size:14px}#ysm-infant-toddler .baby-cards-more{display:block;margin:28px auto;min-width:180px}#ysm-infant-toddler .baby-shop{width:min(1120px,95vw);max-width:95vw;max-height:92vh;padding:24px;border:0;border-radius:18px;background:#fff;color:#14333e;box-shadow:0 20px 80px #001f3f55}#ysm-infant-toddler .baby-shop::backdrop{background:#07272dcc;backdrop-filter:blur(3px)}#ysm-infant-toddler .baby-shop-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}#ysm-infant-toddler .baby-shop-heading h2{margin:0;font-size:26px}#ysm-infant-toddler .baby-close{font-size:25px;line-height:1;min-width:44px;min-height:44px}#ysm-infant-toddler .baby-shop .baby-preview{top:0}#ysm-infant-toddler .baby-shop input[type=color]{height:40px}#ysm-infant-toddler .baby-shop .baby-layout{gap:22px}@media(max-width:760px){#ysm-infant-toddler .baby-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#ysm-infant-toddler .baby-card strong{font-size:14px;padding:12px 10px 6px}#ysm-infant-toddler .baby-card>span{font-size:12px;padding:0 10px}#ysm-infant-toddler .baby-card canvas{padding:8px}#ysm-infant-toddler .baby-shop{padding:15px;max-height:95vh}#ysm-infant-toddler .baby-collection-toolbar{gap:10px}#ysm-infant-toddler .baby-start-custom{width:100%}}
#ysm-infant-toddler .baby-shop-heading{position:sticky;top:-24px;z-index:5;padding:14px 0;background:#fff}#ysm-infant-toddler .baby-shop .baby-preview{top:66px}@media(max-width:760px){#ysm-infant-toddler .baby-shop-heading{top:-15px}}

#ysm-infant-toddler .baby-choice-group{border:0;padding:0;margin:0 0 20px;min-width:0}#ysm-infant-toddler legend{font-weight:700;font-size:20px;margin-bottom:10px}#ysm-infant-toddler .baby-choices{display:flex;flex-wrap:wrap;gap:8px}#ysm-infant-toddler .baby-choices button{padding:6px;width:85px;display:flex;flex-direction:column;align-items:center;font-size:12px;line-height:1.3;gap:4px}#ysm-infant-toddler .baby-choices img{width:100%;height:76px;object-fit:contain;background:#f4f2ed;border-radius:5px}#ysm-infant-toddler .baby-style-choices button{width:100px}#ysm-infant-toddler .baby-style-choices img{height:90px}#ysm-infant-toddler .baby-size-choices button{min-height:58px}#ysm-infant-toddler .baby-size-choices strong{font-size:16px}#ysm-infant-toddler .baby-view-choices{justify-content:center;margin-top:12px}#ysm-infant-toddler .baby-view-choices img{height:50px}#ysm-infant-toddler .baby-swatches{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 15px}#ysm-infant-toddler .baby-swatches button{width:32px;height:32px;min-width:32px;padding:0;border-radius:50%;border:1px solid #8a9698}#ysm-infant-toddler .baby-swatches button[aria-pressed=true]{outline:3px solid #087c83;outline-offset:3px}#ysm-infant-toddler .baby-custom-color{font-size:14px;display:flex;align-items:center;gap:12px}#ysm-infant-toddler .baby-custom-color input[type=color]{width:60px;height:34px}
/* Dog-only inline shopping workspace beneath the shared site navigation. */
.baby-site-hero{text-align:center;padding:30px 16px 22px;background:linear-gradient(#000a,#000a),url(https://shirtingme.com/wp-content/uploads/2026/08/2267018360-2.jpg) center/cover;color:white}.baby-site-hero img{width:145px;height:145px;object-fit:contain}.baby-site-hero h1{color:white!important;margin:10px 0;font-size:clamp(26px,4vw,42px)}
.baby-site-nav{position:sticky;top:0;z-index:50;display:flex;gap:7px;justify-content:center;align-items:center;flex-wrap:nowrap;overflow-x:auto;background:#142235;padding:10px 12px;margin:0!important}.baby-site-nav a.ysm-nav-button{flex:0 0 auto;background:#253851;color:white!important;text-decoration:none;border-radius:22px;padding:8px 14px;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap}.baby-site-nav a.ysm-current{background:#0666e5}.admin-bar .baby-site-nav{top:32px}
#ysm-infant-toddler .baby-shop{position:relative;display:block;width:100%;max-width:none;max-height:none;margin:0;padding:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible;scroll-margin-top:62px}#ysm-infant-toddler .baby-shop-heading{position:static;padding:8px 0;margin:0 0 10px;background:transparent}#ysm-infant-toddler .baby-close{font-size:14px;min-height:38px}#ysm-infant-toddler .baby-shop .baby-layout{height:calc(100dvh - 145px);min-height:380px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:24px}#ysm-infant-toddler .baby-shop .baby-preview{position:static;min-height:0;min-width:0;max-width:none;display:flex;flex-direction:column;justify-content:center;padding:12px;margin:0}#ysm-infant-toddler .baby-preview-stage{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;min-height:0;flex:1}#ysm-infant-toddler .baby-preview-stage canvas{grid-column:2;grid-row:1;max-height:100%;object-fit:contain;min-height:0}#ysm-infant-toddler .baby-view-choices{grid-column:1;grid-row:1;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center;gap:6px;margin:0;max-height:100%;overflow-y:auto}#ysm-infant-toddler .baby-view-choices button{width:58px;flex:0 0 auto;padding:4px;font-size:10px}#ysm-infant-toddler .baby-view-choices img{height:46px}#ysm-infant-toddler .baby-preview-note{font-size:11px;line-height:1.4;margin:8px 0 0}#ysm-infant-toddler .baby-controls{overflow-y:auto;min-height:0;min-width:0;padding:4px 12px 30px 4px;scrollbar-gutter:stable}#ysm-infant-toddler .baby-color-choices,#ysm-infant-toddler .baby-size-choices{flex-wrap:nowrap;overflow-x:auto;padding:3px 2px 10px;scrollbar-width:thin}#ysm-infant-toddler .baby-color-choices button,#ysm-infant-toddler .baby-size-choices button{flex:0 0 80px}#ysm-infant-toddler .baby-designs{max-height:340px}
@media(max-width:760px){.baby-site-hero{padding:18px 10px}.baby-site-hero img{width:95px;height:95px}.baby-site-nav{justify-content:flex-start}.admin-bar .baby-site-nav{top:46px}#ysm-infant-toddler{margin:10px auto;padding:10px}#ysm-infant-toddler .baby-shop{scroll-margin-top:64px}#ysm-infant-toddler .baby-shop-heading h2{font-size:21px}#ysm-infant-toddler .baby-shop .baby-layout{height:calc(100dvh - 140px);min-height:370px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(140px,34%) minmax(0,1fr);gap:10px}#ysm-infant-toddler .baby-shop .baby-preview{padding:6px;border-radius:12px}#ysm-infant-toddler .baby-preview-stage{grid-template-columns:54px minmax(0,1fr)}#ysm-infant-toddler .baby-preview-stage canvas{height:100%;width:100%}#ysm-infant-toddler .baby-preview-note{display:none}#ysm-infant-toddler .baby-view-choices button{width:48px;font-size:9px}#ysm-infant-toddler .baby-view-choices img{height:34px}#ysm-infant-toddler .baby-controls{padding:4px 6px 24px}#ysm-infant-toddler legend{font-size:17px}#ysm-infant-toddler .baby-style-choices img{height:56px}#ysm-infant-toddler .baby-style-choices button{width:85px}#ysm-infant-toddler .baby-choice-group{margin-bottom:12px}}

body .baby-site-nav a.ysm-nav-button{background:#253851!important;border-color:#253851!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}body .baby-site-nav a.ysm-current{background:#0666e5!important;border-color:#0666e5!important}.ysm-nav-backroom-row:has(.baby-site-nav){position:sticky!important;top:0!important;z-index:80!important;background:#142235}.ysm-nav-backroom-row .baby-site-nav{position:static}.admin-bar .ysm-nav-backroom-row:has(.baby-site-nav){top:32px!important}#ysm-infant-toddler .baby-shop{scroll-margin-top:calc(var(--baby-nav-height,56px) + 10px)}#ysm-infant-toddler .baby-shop .baby-layout{height:calc(100dvh - var(--baby-nav-height,56px) - 88px)}@media(max-width:760px){.admin-bar .ysm-nav-backroom-row:has(.baby-site-nav){top:46px!important}}

.baby-shared-header{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-top:0!important}.baby-shared-header .wp-block-cover{margin:0!important}.baby-shared-header .ysm-main-buttons a{background:#172235!important;color:#fff!important;-webkit-text-fill-color:#fff!important}.baby-shared-header .ysm-main-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.baby-shared-header .ysm-nav-button{padding:8px 14px;border-radius:24px;text-decoration:none;font-size:13px;font-weight:700}.baby-shared-header .wp-block-group.is-layout-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:820px;margin:auto}.baby-shared-header figure{margin:0}.baby-shared-header .wp-block-cover__inner-container{width:100%}
#ysm-infant-toddler .baby-canvas-viewport{grid-column:2;grid-row:1;overflow:auto;width:100%;height:100%;min-height:0;display:block;overscroll-behavior:contain;scrollbar-width:thin}#ysm-infant-toddler .baby-canvas-viewport canvas{display:block;margin:auto;object-fit:contain}#ysm-infant-toddler .baby-zoom{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:6px}#ysm-infant-toddler .baby-zoom button{padding:5px 10px;font-size:13px;min-height:30px}#ysm-infant-toddler .baby-zoom output{font-size:12px;min-width:38px;text-align:center}#ysm-infant-toddler .baby-designs{height:280px!important;min-height:280px;max-height:280px!important;overflow-y:auto!important;border:1px solid #bacbce;border-radius:10px;overscroll-behavior-y:auto;scrollbar-width:auto;scrollbar-gutter:stable}#ysm-infant-toddler .baby-designs button{min-height:130px}#ysm-infant-toddler .baby-upload-row{display:flex;gap:8px;align-items:center;flex-wrap:nowrap;margin-bottom:12px}#ysm-infant-toddler .baby-upload-button{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:10px 14px;border:1px solid #8faeb1;background:white;border-radius:9px;cursor:pointer;font-size:14px;font-weight:400;white-space:nowrap}#ysm-infant-toddler .baby-clear-art{font-size:14px;white-space:nowrap}#ysm-infant-toddler .baby-fancy-text{width:100%}@media(max-width:760px){#ysm-infant-toddler .baby-designs{height:230px!important;min-height:230px;max-height:230px!important}#ysm-infant-toddler .baby-preview-stage{flex:1;overflow:hidden}#ysm-infant-toddler .baby-zoom{flex:0 0 32px}#ysm-infant-toddler .baby-shop .baby-layout{grid-template-rows:minmax(190px,36%) minmax(0,1fr)}}

/* Same overlay and scrolling-window structure as the shirt Quick Shop. */
#ysm-infant-toddler .baby-shop{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:18px;background:rgba(15,23,42,.68);overflow:hidden;box-sizing:border-box}#ysm-infant-toddler .baby-shop-window{position:relative;width:min(780px,100%);max-height:90dvh;overflow-x:hidden;overflow-y:auto;background:#fff;border-radius:14px;padding:18px;box-sizing:border-box;min-width:0;overscroll-behavior:contain}#ysm-infant-toddler .baby-shop-heading{position:sticky;top:-18px;z-index:8;background:#fff;margin:0 0 10px;padding:8px 0;display:flex;justify-content:space-between}#ysm-infant-toddler .baby-close{font-size:26px;min-width:42px;line-height:1}#ysm-infant-toddler .baby-shop .baby-layout{display:flex;flex-direction:column;height:auto;min-height:0;gap:16px}#ysm-infant-toddler .baby-shop .baby-preview{height:350px;min-height:350px;max-width:100%;width:100%;flex:none;position:relative}#ysm-infant-toddler .baby-controls{overflow:visible;padding:0 2px 16px;scrollbar-gutter:auto}#ysm-infant-toddler .baby-designs{height:180px!important;min-height:180px!important;max-height:180px!important;overflow-y:auto!important;overscroll-behavior:auto}#ysm-infant-toddler .baby-designs button{min-height:115px}#ysm-infant-toddler .baby-designs img{max-height:100px;object-fit:contain}#ysm-infant-toddler .baby-preview-note{display:none}@media(max-width:760px){#ysm-infant-toddler .baby-shop{padding:5px}#ysm-infant-toddler .baby-shop-window{width:100%;max-height:calc(100dvh - 10px);padding:12px;border-radius:12px}#ysm-infant-toddler .baby-shop-heading{top:-12px}#ysm-infant-toddler .baby-shop .baby-preview{height:270px;min-height:270px}#ysm-infant-toddler .baby-designs{height:165px!important;min-height:165px!important;max-height:165px!important}}

#ysm-infant-toddler .baby-shop .baby-preview{top:auto;bottom:auto;margin:0}

/* Stationary preview and independently scrolling options. */
#ysm-infant-toddler .baby-shop-window{height:90dvh;max-height:90dvh;display:flex;flex-direction:column;overflow:hidden}#ysm-infant-toddler .baby-shop-heading{position:static;flex:0 0 auto}#ysm-infant-toddler .baby-shop .baby-layout{flex:1;min-height:0;overflow:hidden;gap:12px}#ysm-infant-toddler .baby-shop .baby-preview{height:clamp(200px,32dvh,330px);min-height:0;flex:0 0 clamp(200px,32dvh,330px)}#ysm-infant-toddler .baby-controls{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 5px 20px;scrollbar-gutter:stable;overscroll-behavior:auto}#ysm-infant-toddler .baby-style-description{font-size:13px;font-weight:400;line-height:1.4;height:2.8em;max-height:2.8em;overflow-y:auto;white-space:pre-line;margin-top:10px;padding:0 8px;border-left:3px solid #bfd0d4;scrollbar-gutter:stable;color:#314f59}@media(max-width:760px){#ysm-infant-toddler .baby-shop-window{height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)}#ysm-infant-toddler .baby-shop .baby-preview{height:clamp(180px,30dvh,270px);flex-basis:clamp(180px,30dvh,270px)}}

#ysm-infant-toddler .baby-backgrounds{flex-wrap:nowrap;overflow-x:auto;padding:4px 2px 10px}#ysm-infant-toddler .baby-backgrounds button{flex:0 0 100px}#ysm-infant-toddler .baby-background-tools{padding:10px;background:#f5f7f8;border-radius:8px}#ysm-infant-toddler .baby-background-tools label{font-size:13px}

/* Background collection and breed buttons remain swipeable on small screens. */
#ysm-infant-toddler .baby-background-categories,#ysm-infant-toddler .baby-background-breeds{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;max-width:100%;padding:4px 2px 10px;margin-bottom:8px;-webkit-overflow-scrolling:touch}
#ysm-infant-toddler .baby-background-categories button,#ysm-infant-toddler .baby-background-breeds button{flex:0 0 auto;white-space:nowrap;min-height:44px}
#ysm-infant-toddler .baby-background-breeds[hidden]{display:none}
#ysm-infant-toddler .baby-backgrounds img{width:90px;height:75px;object-fit:contain}

/* A native modal keeps the underlying editor inert and traps keyboard focus. */
#ysm-infant-toddler .baby-background-picker{box-sizing:border-box;width:min(900px,96vw);max-width:96vw;height:min(850px,94dvh);max-height:94dvh;margin:auto;padding:16px;border:0;border-radius:16px;color:#173e4c;background:#fff;overflow:hidden}
#ysm-infant-toddler .baby-background-picker[open]{display:flex;flex-direction:column;gap:10px}
#ysm-infant-toddler .baby-background-picker::backdrop{background:rgba(10,24,35,.7)}
#ysm-infant-toddler .baby-background-picker header,#ysm-infant-toddler .baby-background-picker footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin:0;padding:0}
#ysm-infant-toddler .baby-background-picker h2{margin:0;font-size:23px}
#ysm-infant-toddler .baby-background-picker button{min-height:44px}
#ysm-infant-toddler .baby-bg-picker-preview{height:clamp(130px,24dvh,220px);flex:none;text-align:center;background:#f4f2ec;border-radius:10px;overflow:hidden}
#ysm-infant-toddler .baby-bg-picker-preview canvas{height:100%;width:auto;max-width:100%;object-fit:contain}
#ysm-infant-toddler .baby-bg-picker-browse{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}
#ysm-infant-toddler .baby-background-picker .baby-background-categories,#ysm-infant-toddler .baby-background-picker .baby-background-breeds{flex-shrink:0;margin:0}
#ysm-infant-toddler .baby-background-picker .baby-backgrounds{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));align-content:start;gap:8px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;padding:6px}
#ysm-infant-toddler .baby-background-picker .baby-backgrounds button{min-width:0;white-space:normal;min-height:120px;padding:8px;font-size:12px}
#ysm-infant-toddler .baby-background-picker .baby-backgrounds img{width:100%;height:90px;object-fit:contain}
#ysm-infant-toddler .baby-bg-picker-status{margin:0;min-height:1.4em;font-size:13px;flex:none}
#ysm-infant-toddler .baby-background-picker footer{justify-content:flex-end}
@media(max-width:500px){#ysm-infant-toddler .baby-background-picker{padding:10px;width:98vw;max-width:98vw;height:96dvh;max-height:96dvh}#ysm-infant-toddler .baby-background-picker .baby-backgrounds{grid-template-columns:repeat(3,minmax(0,1fr))}#ysm-infant-toddler .baby-background-picker h2{font-size:20px}}

#ysm-infant-toddler .baby-background-picker .baby-background-categories button,#ysm-infant-toddler .baby-background-picker .baby-background-breeds button{width:max-content;min-width:max-content;max-width:none;padding:10px 14px}
#ysm-infant-toddler .baby-background-picker .baby-background-breeds strong{white-space:nowrap}
#ysm-infant-toddler .baby-bg-picker-preview canvas{display:block;margin:0 auto;position:static;transform:none!important;width:auto!important;height:100%!important;aspect-ratio:1;max-width:100%}

/* Large choices and category launchers independent of the thumbnail scroll. */
#ysm-infant-toddler .baby-bg-launchers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 12px}
#ysm-infant-toddler .baby-bg-launchers button{min-height:48px;font-size:16px;font-weight:700;width:100%;padding:12px}
#ysm-infant-toddler .baby-background-picker{width:min(1050px,96vw)}
#ysm-infant-toddler .baby-bg-picker-preview{height:clamp(100px,18dvh,155px)}
#ysm-infant-toddler .baby-background-picker .baby-background-categories{display:grid;grid-template-columns:1fr 1fr;overflow:visible;flex:none;padding:0 0 8px}
#ysm-infant-toddler .baby-background-picker .baby-background-categories button{width:100%;min-width:0;font-size:16px}
#ysm-infant-toddler .baby-background-picker .baby-background-breeds{flex:none;max-height:68px}
#ysm-infant-toddler .baby-background-picker .baby-background-breeds button{font-size:14px}
#ysm-infant-toddler .baby-background-picker .baby-backgrounds{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;box-sizing:border-box;overflow-x:hidden}
#ysm-infant-toddler .baby-background-picker .baby-backgrounds button{width:100%;max-width:none;min-width:0;min-height:195px;align-self:stretch;padding:10px;font-size:14px;gap:8px}
#ysm-infant-toddler .baby-background-picker .baby-backgrounds img{height:150px;width:100%;max-height:none}
#ysm-infant-toddler .baby-background-picker .baby-backgrounds strong{width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){
 #ysm-infant-toddler .baby-background-picker{width:98vw;padding:10px;gap:8px}
 #ysm-infant-toddler .baby-bg-picker-preview{height:clamp(85px,15dvh,120px)}
 #ysm-infant-toddler .baby-background-picker .baby-backgrounds{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #ysm-infant-toddler .baby-background-picker .baby-backgrounds button{min-height:165px;font-size:13px;padding:8px}
 #ysm-infant-toddler .baby-background-picker .baby-backgrounds img{height:115px}
}
@media(max-height:550px){#ysm-infant-toddler .baby-bg-picker-preview{display:none}}

/* Keep the custom color picker immediately after the preset swatches. */
#ysm-infant-toddler .baby-swatches{align-items:center}
#ysm-infant-toddler .baby-swatches .baby-custom-color{position:relative;display:inline-flex;align-items:center;justify-content:center;height:34px;box-sizing:border-box;padding:5px 12px;margin:0;border:1px solid #8a9698;border-radius:8px;gap:0;cursor:pointer;font-weight:600;white-space:nowrap}
#ysm-infant-toddler .baby-swatches .baby-custom-color input[type=color]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
#ysm-infant-toddler .baby-swatches .baby-custom-color:focus-within{outline:3px solid #087c83;outline-offset:3px}

.baby-load-feedback{position:sticky;top:8px;z-index:30;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 16px);margin:0 auto 12px;padding:10px 14px;border:1px solid #9ec5fe;border-radius:999px;background:#eef6ff;color:#123c69;box-shadow:0 8px 24px rgba(15,55,100,.18);font-size:14px;line-height:1.2}
.baby-load-feedback[hidden]{display:none}
.baby-load-feedback span{flex:0 0 18px;width:18px;height:18px;border:3px solid #b8d7fa;border-top-color:#0866e5;border-radius:50%;animation:baby-load-spin .8s linear infinite}
.baby-load-feedback>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.baby-load-feedback strong{font-weight:900}
.baby-load-feedback small{font-size:12px;color:#415a77}
@keyframes baby-load-spin{to{transform:rotate(360deg)}}
.baby-load-feedback.is-error span{display:none}
@media(prefers-reduced-motion:reduce){.baby-load-feedback span{animation:none}}

.baby-load-feedback{box-sizing:border-box}
body.admin-bar .baby-load-feedback{top:40px}
@media(max-width:782px){body.admin-bar .baby-load-feedback{top:54px}}

/* Keep preview tools beside the garment so the canvas can use the full height. */
#ysm-infant-toddler .baby-shop .baby-preview{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:8px;align-items:stretch;padding:6px;height:clamp(260px,42dvh,420px);flex-basis:clamp(260px,42dvh,420px)}
#ysm-infant-toddler .baby-preview-stage{height:100%;min-width:0;min-height:0;overflow:hidden}
#ysm-infant-toddler .baby-zoom{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:6px;margin:0;min-width:0}
#ysm-infant-toddler .baby-zoom button{width:100%;min-height:36px;padding:5px 4px}
#ysm-infant-toddler .baby-zoom output{min-width:0;font-size:12px}
@media(max-width:760px){#ysm-infant-toddler .baby-shop .baby-preview{grid-template-columns:minmax(0,1fr) 46px;gap:5px;padding:4px;height:clamp(220px,38dvh,340px);flex-basis:clamp(220px,38dvh,340px)}#ysm-infant-toddler .baby-zoom{flex-basis:auto}#ysm-infant-toddler .baby-zoom button{min-height:34px;font-size:12px}}

#ysm-infant-toddler .baby-shop .baby-preview{grid-template-columns:58px minmax(0,1fr);height:clamp(290px,48dvh,480px);flex-basis:clamp(290px,48dvh,480px);padding:3px;gap:4px}
#ysm-infant-toddler .baby-zoom{grid-column:1;grid-row:1}
#ysm-infant-toddler .baby-preview-stage{grid-column:2;grid-row:1;grid-template-columns:54px minmax(0,1fr)}
#ysm-infant-toddler .baby-view-choices button{width:50px}
@media(max-width:760px){#ysm-infant-toddler .baby-shop .baby-preview{grid-template-columns:48px minmax(0,1fr);height:clamp(240px,44dvh,390px);flex-basis:clamp(240px,44dvh,390px);gap:3px}#ysm-infant-toddler .baby-preview-stage{grid-template-columns:44px minmax(0,1fr)}#ysm-infant-toddler .baby-view-choices button{width:40px}}

/* A single left rail leaves the remaining preview width for the canvas. */
#ysm-infant-toddler .baby-shop .baby-preview{grid-template-columns:58px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
#ysm-infant-toddler .baby-preview-stage{display:contents}
#ysm-infant-toddler .baby-canvas-viewport{grid-column:2;grid-row:1 / 3;height:100%;min-width:0;min-height:0}
#ysm-infant-toddler .baby-view-choices{grid-column:1;grid-row:1;align-self:start;justify-content:flex-start;max-height:100%;width:100%;gap:6px}
#ysm-infant-toddler .baby-view-choices button{width:100%}
#ysm-infant-toddler .baby-zoom{grid-column:1;grid-row:2;align-self:end;justify-content:flex-end}
@media(max-width:760px){#ysm-infant-toddler .baby-shop .baby-preview{grid-template-columns:48px minmax(0,1fr);gap:5px}#ysm-infant-toddler .baby-view-choices button{width:100%}}

/* The shared hero replaces the empty theme header on this storefront. */
body:has(#ysm-infant-toddler) .wp-site-blocks>header.wp-block-template-part{display:none!important}
body:has(#ysm-infant-toddler) .wp-site-blocks{padding-top:14px!important}
body:has(#ysm-infant-toddler) .wp-site-blocks>.wp-block-post-content{margin-block-start:0!important}
