/* Toys of Disharmony header */
:root { --tod-black: #000; --tod-white: #fff; --tod-red: #dc0000; --tod-red-dark: #b00000; --tod-line: #2a2a2a; --tod-grey: #9a9a9a; --tod-bar: 88px; }

.tod-skip { position: absolute; left: 8px; top: -60px; z-index: 2000; padding: 10px 14px; background: var(--tod-white); color: var(--tod-black); font-weight: 500; }
.tod-skip:focus { top: 8px; color: var(--tod-black); }

.tod-promo { background: var(--tod-red); color: var(--tod-white); }
.tod-promo p { max-width: 1170px; margin: 0 auto; padding: 7px 16px; font-size: 13px; line-height: 18px; text-align: center; }

.tod-header { position: sticky; top: 0; z-index: 1000; background: var(--tod-black); color: var(--tod-white); margin-bottom: 24px; transition: box-shadow .2s; }
.tod-header.is-scrolled { box-shadow: 0 1px 0 var(--tod-line); }
.tod-header :focus-visible, .tod-drawer :focus-visible { outline: 2px solid var(--tod-red); outline-offset: 2px; }
.tod-bar { display: flex; align-items: center; gap: 24px; max-width: 1200px; height: var(--tod-bar); margin: 0 auto; padding: 0 16px; transition: height .2s; }
.tod-header.is-scrolled .tod-bar { --tod-bar: 64px; }

.tod-logo { display: block; flex: 0 0 auto; line-height: 0; }
/* Logo framed by a thin white rule; its height follows the bar so it shrinks with it */
.tod-logo img { display: block; box-sizing: border-box; width: auto; height: calc(var(--tod-bar) - 12px); padding: 6px; border: 1px solid var(--tod-white); transition: height .2s; }

/* Icon buttons */
.tod-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--tod-white); font-size: 19px; line-height: 1; cursor: pointer; text-decoration: none; }
.tod-icon:hover, .tod-icon:focus { color: var(--tod-white); background: #1c1c1c; text-decoration: none; }
.tod-burger { display: none; margin-left: -10px; }
.tod-burger-lines { display: grid; gap: 5px; width: 22px; }
.tod-burger-lines span { display: block; height: 1px; background: currentColor; }
.tod-burger-lines span:nth-child(2) { width: 15px; }

/* Desktop categories */
.tod-nav { flex: 1 1 auto; min-width: 0; height: 100%; }
.tod-nav-list { display: flex; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.tod-nav-item { position: static; display: flex; }
.tod-nav-link { display: flex; align-items: center; gap: 6px; padding: 0 14px; color: var(--tod-white); font-family: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 -1px 0 transparent; transition: box-shadow .15s, color .15s; }
.tod-chev { width: 16px !important; height: 16px !important; color: var(--tod-grey); transition: transform .15s; }
.tod-nav-item.has-panel:hover .tod-chev, .tod-nav-item.is-open .tod-chev { transform: rotate(180deg); color: var(--tod-white); }
.tod-nav-link:hover, .tod-nav-link:focus, .tod-nav-item.is-open > .tod-nav-link { color: var(--tod-white); text-decoration: none; box-shadow: inset 0 -1px 0 var(--tod-red); }

.tod-panel { position: absolute; left: 0; right: 0; top: 100%; visibility: hidden; opacity: 0; background: var(--tod-white); color: var(--tod-black); border-bottom: 1px solid var(--tod-black); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); transition: opacity .15s, visibility .15s; }
.tod-nav-item.has-panel:hover .tod-panel, .tod-nav-item.has-panel:focus-within .tod-panel, .tod-nav-item.is-open .tod-panel { visibility: visible; opacity: 1; }
.tod-panel-inner { max-width: 1200px; margin: 0 auto; padding: 28px 16px 24px; }
.tod-panel-cols { columns: var(--cols, 1) 200px; column-gap: 32px; max-width: calc(var(--cols, 1) * 260px); }
.tod-panel-cols a { display: block; break-inside: avoid; padding: 6px 0; color: var(--tod-black); font-size: 16px; line-height: 22px; white-space: normal; }
.tod-panel-cols a:hover, .tod-panel-cols a:focus { color: var(--tod-red-dark); text-decoration: underline; }
.tod-panel-all { display: inline-block; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--tod-black); color: var(--tod-black); font-weight: 500; text-decoration: underline; }
.tod-panel-all:hover, .tod-panel-all:focus { color: var(--tod-red-dark); }

/* Actions */
.tod-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: 0 0 auto; }
.tod-lang #language { padding: 0; }
.tod-lang a { display: inline-flex; align-items: center; height: 44px; padding: 0 10px; color: var(--tod-white); font-size: 13px; text-decoration: none; }
.tod-lang a:hover, .tod-lang a:focus { color: var(--tod-white); background: #1c1c1c; text-decoration: none; }
.tod-currency .pull-left { float: none !important; }
.tod-currency .btn-link { color: var(--tod-white); }

/* Cart */
.tod-header #cart { position: static; margin: 0; width: auto; }
.tod-header #cart > .btn { display: inline-flex; align-items: center; gap: 10px; width: auto; height: 44px; padding: 0 6px 0 10px; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--tod-white); font-size: 15px; line-height: 1; text-shadow: none; }
.tod-header #cart > .btn:hover, .tod-header #cart > .btn:focus, .tod-header #cart.open > .btn { background: #1c1c1c; color: var(--tod-white); border: 0; }
.tod-svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; }
.tod-cart-icon { position: relative; display: inline-block; }
.tod-cart-count { position: absolute; top: -7px; right: -10px; min-width: 19px; height: 19px; padding: 0 4px; background: var(--tod-red); color: var(--tod-white); font-size: 12px; font-weight: 500; line-height: 19px; text-align: center; }
.tod-cart-count:empty, .tod-cart-count[data-count="0"] { display: none; }
.tod-cart-total { padding-left: 6px; font-weight: 500; white-space: nowrap; }
.tod-header #cart .dropdown-menu { left: auto; right: max(16px, calc((100vw - 1200px) / 2 + 16px)); top: 100%; width: 400px; min-width: 0; max-height: calc(100vh - var(--tod-bar) - 24px); overflow-y: auto; margin: 0; padding: 18px; border: 1px solid var(--tod-black); border-top: 0; border-radius: 0; background: var(--tod-white); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); color: var(--tod-black); }
.tod-header #cart .dropdown-menu li > div { min-width: 0; padding: 0; }
.tod-header #cart .dropdown-menu .table { margin-bottom: 12px; background: none; }
.tod-header #cart .dropdown-menu .table > tbody > tr > td.text-right { white-space: nowrap; }
.tod-header #cart .dropdown-menu .table > tbody > tr > td { padding: 10px 6px; border-top: 1px solid #ddd; vertical-align: middle; background: none; }
.tod-header #cart .dropdown-menu .table-striped > tbody > tr:first-child > td { border-top: 0; }
.tod-header #cart .dropdown-menu .table-bordered, .tod-header #cart .dropdown-menu .table-bordered td { border: 0; }
.tod-header #cart .dropdown-menu .table-bordered > tbody > tr > td { padding: 3px 0; }
.tod-header #cart .dropdown-menu .table-bordered tr:last-child td { padding-top: 10px; border-top: 1px solid var(--tod-black); font-size: 17px; }
.tod-header #cart .dropdown-menu .img-thumbnail { width: 52px; padding: 0; border: 0; border-radius: 0; }
.tod-header #cart .dropdown-menu a { color: var(--tod-black); }
.tod-header #cart .dropdown-menu .btn-danger { border: 0; border-radius: 0; background: none; color: #555; box-shadow: none; }
.tod-header #cart .dropdown-menu .btn-danger:hover { color: var(--tod-red-dark); }
.tod-header #cart .dropdown-menu .btn-primary { display: block; padding: 13px 16px; border: 1px solid var(--tod-black); border-radius: 0; background: var(--tod-white); background-image: none; color: var(--tod-black); font-size: 16px; font-weight: 500; text-shadow: none; box-shadow: none; }
.tod-header #cart .dropdown-menu .btn-primary .fa { display: none; }
.tod-header #cart .dropdown-menu .btn-primary.is-margin-cart { margin-top: -12px; border-color: var(--tod-red); background: var(--tod-red); color: var(--tod-white); }
.tod-header #cart .dropdown-menu .btn-primary:hover { background: #f1f1f1; }
.tod-header #cart .dropdown-menu .btn-primary.is-margin-cart:hover { background: var(--tod-red-dark); border-color: var(--tod-red-dark); }
.tod-header #cart .dropdown-menu li p { margin: 8px 0; color: #555; }

/* Search */
.tod-search { border-top: 1px solid var(--tod-line); background: var(--tod-black); }
.tod-search[hidden] { display: none; }
.tod-search-inner { display: flex; align-items: center; gap: 8px; max-width: 760px; margin: 0 auto; padding: 14px 16px 16px; }
.tod-search #search { flex: 1 1 auto; display: flex; margin: 0; }
.tod-search #search .form-control { height: 52px; padding: 0 16px; border: 1px solid var(--tod-white); border-right: 0; border-radius: 0; background: var(--tod-black); color: var(--tod-white); box-shadow: none; font-size: 17px; }
.tod-search #search .form-control::placeholder { color: var(--tod-grey); }
.tod-search #search .form-control:focus { outline: 0; border-color: var(--tod-white); box-shadow: none; }
.tod-search #search .input-group-btn { width: auto; }
.tod-search #search .btn { height: 52px; width: 56px; padding: 0; border: 1px solid var(--tod-white); border-radius: 0; background: var(--tod-white); background-image: none; color: var(--tod-black); font-size: 18px; text-shadow: none; box-shadow: none; }
.tod-search #search .btn:hover { background: #e6e6e6; }

/* Mobile drawer */
.tod-scrim { position: fixed; inset: 0; z-index: 1090; background: rgba(0, 0, 0, .55); }
.tod-scrim[hidden] { display: none; }
.tod-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1100; display: flex; flex-direction: column; width: min(420px, 100%); background: var(--tod-black); color: var(--tod-white); transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); overflow: hidden; }
.tod-drawer[hidden] { display: none; }
.tod-drawer.is-open { transform: none; }
.tod-drawer-head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; height: 68px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--tod-line); }
.tod-drawer-head .tod-logo img { height: 50px; }
.tod-drawer-nav { flex: 1 1 auto; overflow-y: auto; padding: 8px 0 24px; overscroll-behavior: contain; }
.tod-drawer-nav ul { margin: 0; padding: 0; list-style: none; }
.tod-drawer-nav > ul > li { border-bottom: 1px solid var(--tod-line); opacity: 0; transform: translateX(-16px); transition: opacity .3s, transform .3s; transition-delay: calc(var(--i, 0) * 35ms + 80ms); }
.tod-drawer.is-open .tod-drawer-nav > ul > li { opacity: 1; transform: none; }
.tod-drawer-row { display: flex; align-items: center; }
.tod-drawer-row a { flex: 1 1 auto; display: block; padding: 14px 16px; color: var(--tod-white); font-family: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif; font-size: 32px; font-weight: 700; line-height: 34px; text-transform: uppercase; text-decoration: none; }
.tod-drawer-row a:hover, .tod-drawer-row a:focus { color: var(--tod-white); text-decoration: none; box-shadow: inset 1px 0 0 var(--tod-red); }
.tod-drawer-toggle { display: flex; align-items: center; justify-content: center; flex: 0 0 60px; align-self: stretch; border: 0; border-left: 1px solid var(--tod-line); background: none; color: var(--tod-white); cursor: pointer; }
.tod-plus-v { transform-origin: 12px 12px; transition: transform .2s; }
.tod-drawer-toggle[aria-expanded="true"] .tod-plus-v { transform: scaleY(0); }
.tod-drawer-toggle[aria-expanded="true"] { color: var(--tod-red); }
.tod-drawer-sub { padding: 0 0 12px !important; }
.tod-drawer-sub[hidden] { display: none; }
.tod-drawer-sub a { display: block; padding: 9px 16px 9px 32px; color: #d9d9d9; font-size: 17px; line-height: 22px; text-decoration: none; }
.tod-drawer-sub a:hover, .tod-drawer-sub a:focus { color: var(--tod-white); text-decoration: underline; }
.tod-drawer-sub .tod-drawer-all { color: var(--tod-white); font-weight: 500; text-decoration: underline; }
.tod-drawer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; flex: 0 0 auto; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--tod-line); }
.tod-drawer-foot > a .tod-svg { width: 20px; height: 20px; }
.tod-drawer-foot > a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--tod-white); font-size: 16px; text-decoration: none; }
.tod-drawer-foot > a:hover, .tod-drawer-foot > a:focus { color: var(--tod-white); text-decoration: underline; }
.tod-drawer-foot .tod-lang { margin-left: auto; }
.tod-drawer-foot .tod-lang a { height: 44px; padding: 0 12px; border: 1px solid #555; }
body.tod-locked { overflow: hidden; }

/* Compact layout: phones, tablets, or too many categories to fit */
@media (max-width: 991px) {
  .tod-header { --tod-bar: 68px; margin-bottom: 16px; }
  .tod-header.is-scrolled .tod-bar { --tod-bar: 58px; }
}
@media (max-width: 991px) {
  .tod-bar { gap: 4px; padding: 0 8px; }
  .tod-burger { display: inline-flex; margin-left: 0; }
  .tod-nav, .tod-desk { display: none !important; }
  .tod-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .tod-cart-total { display: none; }
  .tod-header #cart > .btn { padding: 0 12px; }
  .tod-logo img { padding: 5px; }
  .tod-header #cart .dropdown-menu { left: 0; right: 0; width: auto; max-height: 75vh; border-width: 1px 0; }
}
.tod-header.is-overflow .tod-burger { display: inline-flex; }
.tod-header.is-overflow .tod-nav { display: none; }
.tod-header.is-overflow .tod-logo { margin-right: auto; }

@media (max-width: 380px) {
  .tod-promo p { font-size: 12px; padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tod-header, .tod-bar, .tod-logo img, .tod-panel, .tod-drawer, .tod-drawer-nav > ul > li { transition: none !important; }
}
