/* TDmonthly Gift Guide 2026 reskin.
   Server path: /monthly/hgg/gg-2026.css. Linked ONLY from /monthly/hgg/css_includes.asp,
   so it touches only Gift Guide pages; shared /monthly/css/ files are not changed.
   Loaded after the old stylesheets, so it overrides them. Roll back: delete the <link> line. */

:root{--gg-ink:#1d1d1f;--gg-ink2:#515154;--gg-ink3:#86868b;--gg-line:#e5e5ea;--gg-bg:#fbfbfd;--gg-card:#fff;--gg-accent:#c8102e;--gg-link:#0066cc;--gg-radius:14px;
--gg-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}

/* ---------- page frame ---------- */
html body{margin:0 auto;padding:0 24px;max-width:1160px;background:var(--gg-bg);color:var(--gg-ink);font:15px/1.5 var(--gg-font);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
body *{box-sizing:border-box}
body font{font-family:inherit!important}
body img{max-width:100%;height:auto}
body a:link,body a:visited{color:var(--gg-link);text-decoration:none}
body a:hover{text-decoration:underline}
body hr{border:0;border-top:1px solid var(--gg-line);height:0;margin:20px 0;width:100%!important}
body p:empty{display:none}
/* old <p><HR><p> dividers around the Amazon widget */
body>table>tbody>tr>td>hr{display:none}
body>table>tbody>tr>td>p:not(:has(a,span,img)){display:none}
/* the shared /monthly/head.asp opens a table that wraps the whole page: let it flow like normal blocks */
body>table,body>table>tbody,body>table>tbody>tr,body>table>tbody>tr>td{display:block;width:auto!important;padding:0;border:0}
body>table>tbody>tr>td>div[style]:empty,body>table>tbody>tr:first-child>td>div[style]{margin:0!important}

/* ---------- header (logo row from /monthly/head.asp) ---------- */
#container{width:auto!important;font:inherit;padding:18px 0 10px}
#container>table{width:100%!important;border-collapse:collapse}
#container>table td{vertical-align:middle;padding:0}
#container>table img[src*="tdm-by-td"]{display:block;width:200px;height:auto}
#container>table a[href*="toy-holiday-guide-2026"]{border-radius:980px!important;padding:8px 16px!important;font:600 14px/1.2 var(--gg-font)!important;background:var(--gg-accent)!important}
body img[src*="spacer.gif"]{display:none}
/* the site-wide Google box is replaced, on Gift Guide pages only, by the Gift Guide search below */
#cse-search-box{display:none}

/* ---------- section tabs (header.asp) ---------- */
#topnavigation{float:none;width:auto;background:none;border-bottom:1px solid var(--gg-line);font-size:14px}
#topnavigation ul{display:flex;flex-direction:row-reverse;justify-content:flex-end;flex-wrap:wrap;gap:4px 22px;padding:6px 0 0;margin:0}
#topnavigation li,#topnavigation #current{float:none;background:none;padding:0;margin:0}
#topnavigation li:has(> a:empty){display:none}
#topnavigation a,#topnavigation #current a{float:none;display:block;background:none;padding:8px 0 10px;font-weight:500;color:var(--gg-ink2)!important;border-bottom:2px solid transparent;margin-bottom:-1px}
#topnavigation a:hover{color:var(--gg-ink)!important;text-decoration:none}
#topnavigation #current a{color:var(--gg-ink)!important;font-weight:600;border-bottom-color:var(--gg-ink)}

/* ---------- Gift Guide search (search.asp) ---------- */
div#tabnavigationbase{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:10px;height:auto;background:none;margin:14px 0 0;padding:0;text-align:left;white-space:normal}
div#tabnavigationbase .searchtext{float:none;display:none}
.searchform{float:none;display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;width:100%}
.searchform input[type=text]{font:inherit;font-size:15px;padding:9px 16px;border:1px solid var(--gg-line);border-radius:980px;background:#fff;flex:1 1 260px;min-width:0;max-width:420px}
.searchform select{font:inherit;font-size:14px;padding:8px 12px;border:1px solid var(--gg-line);border-radius:980px;background:#fff;color:var(--gg-ink2)}
.searchform input[type=submit]{font:inherit;font-size:14px;font-weight:500;padding:9px 18px;border:0;border-radius:980px;background:var(--gg-ink);color:#fff;cursor:pointer}

/* ---------- breadcrumb ---------- */
.ggsubnavigation{background:none!important;border:0!important;padding:16px 0 8px;margin:0;text-align:left;font-size:13px;color:var(--gg-ink3);clear:both}
.ggsubnavigation span.main{float:none}
/* company pages: hide the bare "AD:" label and the unlinked "Previous | Next" text; real Previous/Next links stay */
.ggsubnavigation{font-size:0!important}
.ggsubnavigation span.main{font-size:13px}
.ggsubnavigation>a{font-size:13px;margin-right:12px}
.ggsubnavigation font{display:none}
.ggsubnavigation+br{display:none}
.ggsubnavigation a:link,.ggsubnavigation a:visited{color:var(--gg-ink3)}
.ggsubnavigation ins.adsbygoogle{margin:12px 0}

/* ---------- left navigation -> clean sidebar ---------- */
#navigation{float:left;width:210px;margin:8px 0 40px;position:sticky;top:12px}
#navigation div#hggcategorynavigation{background:none;border:0;padding:0}
#navigation div#hggcategorynavigation h2{border:0;color:var(--gg-ink3);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-align:left;padding:0 10px;margin:18px 0 6px}
#navigation div#hggcategorynavigation h2:first-child{margin-top:0}
#navigation div#hggcategorynavigation ul{background:none;border:0;padding:0;margin:0}
#navigation div#hggcategorynavigation li{border:0;font:inherit;font-size:14px}
#navigation div#hggcategorynavigation a{border:0!important;padding:5px 10px;border-radius:8px;color:var(--gg-ink2)!important;line-height:1.35}
#navigation div#hggcategorynavigation a:hover{background:#ececf0;color:var(--gg-ink)!important;text-decoration:none}
#navigation div#hggcategorynavigation li.selectedcategory a{background:#ececf0;color:var(--gg-ink)!important;font-weight:600}

/* ---------- content column ---------- */
#content{margin-left:240px;min-height:400px}
#content>a>img[src*="catheader"]{display:none}
#content div.categoryheading,.searchresultstext{border:0;color:var(--gg-ink);font-style:normal;text-align:left;font-size:clamp(28px,4vw,40px);font-weight:700;letter-spacing:-.025em;line-height:1.1;margin:4px 0 20px;padding:0}
.searchresultstext{font-size:24px}

/* index intro + category tiles */
#content div.hggintro{height:auto;display:flow-root;font-size:17px;line-height:1.55;color:var(--gg-ink2);margin:0 0 28px;max-width:760px}
#content div.hggintro img.image{float:left;width:110px;height:auto;margin:0 20px 6px 0}
#content div.hggintro br{display:none}
#content div.hggintro strong{color:var(--gg-ink)}
#categorylist{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
#categorylist li{float:none;width:auto;height:auto;margin:0;font-size:14px;background:var(--gg-card);border:1px solid var(--gg-line);border-radius:var(--gg-radius);padding:16px 10px 14px;transition:transform .15s,box-shadow .15s}
#categorylist li:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
#categorylist li br{display:none}
#categorylist img{border:0;margin:0 auto 10px;display:block;width:96px;height:96px;object-fit:contain}
#categorylist img[src$="/"]{visibility:hidden} /* Plush tile: its DB image filename is empty (CMS fix pending) */
#categorylist li a.categoryname{display:block;color:var(--gg-ink)!important;font-weight:600;border:0;padding:0;line-height:1.3}
#content .clear{height:0}

/* product rows (category, age and all-ages pages) -> cards */
#content .hggcategoryproducts{display:flex;flex-direction:column;gap:14px}
#content .hggcategoryproducts .product,#content .result{background:var(--gg-card)!important;border:1px solid var(--gg-line);border-radius:var(--gg-radius);padding:18px 20px!important;margin:0;min-height:0;font-size:14px;line-height:1.55;color:var(--gg-ink2);display:flow-root}
#content .hggcategoryproducts .product>b:first-of-type{color:var(--gg-ink);font-size:16px;line-height:1.35;font-weight:600}
#content .hggcategoryproducts .product a.main{font-weight:500}
#content .hggcategoryproducts .product a[href*="amazon."]{display:inline-block;margin:6px 0 8px;padding:5px 14px;border:1px solid var(--gg-line);border-radius:980px;font-size:13px;color:var(--gg-ink)!important}
#content .hggcategoryproducts .product a[href*="amazon."]:hover{border-color:var(--gg-ink3);text-decoration:none}
#content .hggcategoryproducts img.productimage{float:left;width:132px;height:132px;object-fit:contain;border:0;border-radius:10px;background:#fff;margin:0 20px 8px 0}
#content .hggcategoryproducts .video{display:none} /* legacy WMV clips no longer play in browsers */

/* company page (manufacturer.asp) */
#companyprofile{padding:0;margin-top:8px}
#companyprofile>h2{font-size:clamp(26px,4vw,36px);letter-spacing:-.025em;margin:8px 0 18px}
#companyprofile>img{max-height:90px;width:auto}
#companyprofile .products{display:grid;grid-template-columns:1fr 1fr;gap:16px;border:0;padding:0;margin:0 0 16px;width:auto}
#companyprofile .products .productleft,#companyprofile .products .productright{float:none;width:auto;margin:0;background:var(--gg-card);border:1px solid var(--gg-line);border-radius:var(--gg-radius);padding:18px 20px;font-size:14px;color:var(--gg-ink2)}
#companyprofile .products .clear{display:none}
#companyprofile .products .image{font-size:16px;color:var(--gg-ink);font-weight:600;margin:0 0 10px;padding:0}
#companyprofile .products .image img{border:0;border-radius:10px;width:232px;max-width:100%;height:auto}
#companyprofile .products img[src*="spacer"]{display:none}
#companyprofile .companyinfo{background:#f5f5f7;border:0;border-radius:var(--gg-radius);padding:22px 24px;font-size:14px;color:var(--gg-ink2);margin-top:8px}
#companyprofile .companyinfo h2{font-size:20px!important;color:var(--gg-ink)}

/* "Related Articles" / "Recent Products" boxes (/monthly/banner_new.asp + page tables) */
#footer,div[align=center]#footer{clear:both;font-size:13px;color:var(--gg-ink3);text-align:left}
#footer table{max-width:100%!important;background:transparent!important;border-color:transparent!important}
#footer td{background-image:none!important;background-color:transparent!important;font-size:13px}
#footer td strong{color:var(--gg-ink)}
#footer a:link,#footer a:visited{color:var(--gg-link)!important;text-decoration:none!important}
body>table>tbody>tr>td>p{clear:both;text-align:center;font-size:13px;line-height:1.9;color:var(--gg-ink3);border-top:1px solid var(--gg-line);margin:32px 0 0;padding:24px 0 48px}
body>table>tbody>tr>td>p a:link,body>table>tbody>tr>td>p a:visited{color:var(--gg-ink2)}
.bio{font:12px/1.8 var(--gg-font)}
.bio a:link,.bio a:visited{color:var(--gg-ink2)}

/* ---------- phones and small tablets ---------- */
@media (max-width:760px){
 html body{padding:0 14px;font-size:15px}
 #container{padding-top:12px}
 #container>table,#container>table>tbody,#container>table>tbody>tr{display:block}
 #container>table>tbody>tr>td{display:inline-block;width:auto!important;vertical-align:middle}
 #container>table img[src*="tdm-by-td"]{width:150px}
 #container>table td br{display:none}
 #container>table a[href*="toy-holiday-guide-2026"]{font-size:13px!important;padding:6px 12px!important;margin:6px 0}
 #topnavigation ul{gap:2px 18px}
 .searchform select{flex:1 1 auto}
 #navigation{float:none;width:auto;position:static;margin:4px 0 16px}
 #navigation div#hggcategorynavigation h2{padding:0;margin:12px 0 6px}
 #navigation div#hggcategorynavigation ul{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 #navigation div#hggcategorynavigation li a{white-space:nowrap;border:1px solid var(--gg-line)!important;border-radius:980px;padding:6px 12px;background:#fff}
 #navigation div#hggcategorynavigation li.selectedcategory a{background:var(--gg-ink);color:#fff!important;border-color:var(--gg-ink)!important}
 #content{margin-left:0}
 #content div.hggintro{font-size:16px}
 #content div.hggintro img.image{width:76px;margin-right:14px}
 #categorylist{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 #categorylist li{padding:12px 6px 10px;font-size:13px}
 #categorylist img{width:64px;height:64px}
 #content .hggcategoryproducts .product,#content .result{padding:14px!important}
 #content .hggcategoryproducts img.productimage{width:88px;height:88px;margin-right:14px}
 #companyprofile .products{grid-template-columns:minmax(0,1fr)}
 #footer table,#footer tbody,#footer tr,#footer td{display:block;width:auto!important}
 #footer td[width="1%"]{display:none}
}
