/* 11-16 moonshinejugs.com (company 2) — loaded only on that store (pdp/hooks/index/links.post.tpl). The same pieces as whiskeymakingkits.com's wmk.css
   (the strip, the slim phone bar), in this store's orange. Every rule is prefixed "html body": this sheet loads before the theme's, so ties must be won. */

/* ---- 11-16 the strip (every page, computer and phone): free standard ground on orders over $149, as 1000 Oaks (Jay; promotion from free149.php —
   Standard Ground is the custom_shipping add-on's $8 + 15% of the subtotal below that; "free on every order" was wrong) */
html body .tygh-top-panel .top-links-grid::before { content: "\2605  FREE SHIPPING ON ORDERS OVER $149 \00B7  LOWER 48  \2605"; display: inline-block; color: #fff6e0; font-weight: 800;
  font-size: 13px; letter-spacing: .08em; line-height: 38px; white-space: nowrap; margin-right: auto; }
html body .mj-icons { display: none; }

/* ---- 11-16 the phone header: was 509 px (a 360 px logo block, the search, a cart line, the menu row) — the whole first screen before any product.
   Now one slim sticky bar: the logo, and search · account · cart · menu as icons (built in links.post.tpl from the store's own pieces; search opens
   under the bar, the menu icon works the store's own menu). The same shape as customdartboardsets.com's, in this store's orange. */
@media (max-width: 767px) {
  html { scroll-padding-top: 72px; }
  html body .tygh-top-panel, html body .tygh-top-panel .top-grid, html body .tygh-top-panel .row-fluid { padding: 0 !important; min-height: 0 !important; height: auto !important; }
  html body .tygh-top-panel .top-grid { height: 30px !important; overflow: hidden; }
  html body .tygh-top-panel .top-links-grid { display: block !important; width: 100% !important; margin: 0 !important; min-height: 0 !important; text-align: center; }
  html body .tygh-top-panel .top-links-grid > *, html body .tygh-top-panel #snapping_id_1275 { display: none !important; }   /* My account: an icon in the bar */
  html body .tygh-top-panel .top-links-grid::before { content: "\2605  FREE SHIPPING OVER $149  \2605"; display: block; font-size: 11.5px; line-height: 30px; text-align: center; margin: 0; }   /* the full line is ~450 px: too wide for a phone */
  html body .tygh-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.14); }
  html body .tygh-header .header-grid { display: flex; flex-wrap: wrap; align-items: center; padding: 4px 8px 4px 10px; min-height: 56px; }
  html body .tygh-header .header-grid > .row-fluid { display: contents; }
  html body .tygh-header .top-logo-grid { order: 1; flex: 1 1 auto; width: auto !important; margin: 0 !important; min-height: 0 !important; padding: 0 !important; }
  html body .tygh-header .top-logo, html body .tygh-header .ty-logo-container { margin: 0 !important; padding: 0 !important; height: 48px; display: flex; align-items: center; }
  html body .tygh-header .ty-logo-container img { height: 48px !important; width: auto !important; max-width: none !important; }
  html body .tygh-header .mj-icons { order: 2; display: flex !important; align-items: center; gap: 2px; }
  html body .tygh-header .cart-content-grid { display: none !important; }
  html body .tygh-header .search-block-grid { order: 5; flex: 0 0 100%; width: 100% !important; margin: 4px 0 6px !important; display: none !important; }
  html.mj-search-open body .tygh-header .search-block-grid { display: block !important; }
  html body .tygh-header .top-menu-grid { display: none !important; }
  html.mj-menu-open body .tygh-header .top-menu-grid { display: block !important; padding: 0 !important; order: 6; flex: 0 0 calc(100% + 18px); width: auto !important; max-width: calc(100% + 18px) !important; margin: 4px -8px -4px -10px !important; background: #3d2314; }
  html.mj-menu-open body .tygh-header .top-menu-grid::before { display: none !important; }
  /* the theme lays the menu out with an id rule — #snapping_id_1282 ul.ty-menu__items {display:flex !important} — so the open menu's rules carry the id too */
  html.mj-menu-open body .tygh-header .top-menu-grid .ty-menu__items, html.mj-menu-open body .tygh-header .top-menu-grid #snapping_id_1282 ul.ty-menu__items { display: block !important; width: 100% !important; margin: 0 !important; padding: 4px 0 !important; background: none !important; }
  html.mj-menu-open body .tygh-header .top-menu-grid .ty-menu__item:not(.ty-menu__menu-btn) { display: block !important; float: none !important; width: 100% !important; margin: 0 !important; border: 0 !important;
    border-top: 1px solid rgba(255,255,255,.12) !important; background: none !important; border-radius: 0 !important; }
  html.mj-menu-open body .tygh-header .top-menu-grid .ty-menu__item-link { display: block !important; padding: 14px 18px !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
    font-size: 16px !important; font-weight: 700 !important; text-align: left !important; background: none !important; }
  html.mj-menu-open body .tygh-header .top-menu-grid .ty-menu__submenu { position: static !important; display: block !important; width: 100% !important; background: rgba(255,255,255,.05) !important; box-shadow: none !important; border: 0 !important; }
  html.mj-menu-open body .tygh-header .top-menu-grid .ty-menu__submenu a { display: block !important; padding: 11px 18px 11px 34px !important; color: #fff1e6 !important; -webkit-text-fill-color: #fff1e6 !important; font-size: 15px !important; }
  html.mj-menu-open body .tygh-header .top-menu-grid .ty-menu__item-toggle { display: none !important; }
  html body .tygh-header .ty-menu__menu-btn { display: none !important; }
  html body .mj-icon { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: none; color: #3d2314 !important;
    font-size: 22px; text-decoration: none !important; cursor: pointer; padding: 0; }
  html body .mj-icon .ty-icon { font-size: 22px; color: #3d2314; }
  html body .mj-icon b { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #b84a30; color: #fff; font-size: 11px; font-weight: 800; line-height: 17px; text-align: center; }
  html body .mj-icon--menu { background: #d85f41; border-radius: 8px; width: 44px; margin-left: 4px; }
  html body .mj-icon--menu .ty-icon { color: #fff; }
}


/* 11-17 (site walk): the bar didn't stay at the top — the theme's .ty-helper-container is overflow:hidden, and sticky needs no clipping ancestor.
   clip keeps the no-sideways-scroll job without making it a scroll box (the same fix as theme/tob/tob.css) */
html body .ty-helper-container { overflow: visible !important; overflow-x: clip !important; }

/* ---- 11-20 phone walk (Jay: "there are a bunch of little things that you missed") ---- */
html body .ty-social-link.twitter { display: none !important; }                 /* the old Twitter link */
html body .ty-payment-icons__item.twocheckout { display: none !important; }      /* 2Checkout: not a way to pay here */
html body #features.tab-list-title, html body #content_features { display: none !important; }   /* "Brand: Thousand Oaks Barrel Co." on a jug page */
@media (max-width: 767px) {
  /* category pages: the long text folds to four lines ("Read more" — links.post.tpl), the jugs two across without the photo arrows */
  html body .ty-wysiwyg-content.mj-fold { max-height: 6.4em; overflow: hidden; position: relative; margin-bottom: 4px !important; }
  html body .ty-wysiwyg-content.mj-fold::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: linear-gradient(rgba(255,255,255,0), #fff); }
  html body .mj-more { background: none; border: 0; padding: 4px 0 12px 8px; font: inherit; font-weight: 700; color: #c4573a; text-decoration: underline; text-underline-offset: 3px; }
  html body .ty-cs-controller-categories .grid-list .ty-column3, html body .ty-cs-controller-products.ty-cs-mode-search .grid-list .ty-column3 { width: 50% !important; display: inline-block !important; vertical-align: top; }
  html body .ty-cs-controller-categories .ty-grid-list__item, html body .ty-cs-controller-products.ty-cs-mode-search .ty-grid-list__item { margin: 4px !important; padding: 8px 6px 10px !important; }
  html body .ty-grid-list__item .owl-prev, html body .ty-grid-list__item .owl-next, html body .ty-grid-list__item .owl-controls, html body .ty-grid-list__item .ty-icon-left-circle, html body .ty-grid-list__item .ty-icon-right-circle { display: none !important; }
  html body .ty-cs-controller-categories .ty-grid-list__item-name .product-title, html body .ty-cs-controller-products.ty-cs-mode-search .ty-grid-list__item-name .product-title { font-size: 14px !important; line-height: 1.3; }
  html body .ty-cs-controller-categories .ty-grid-list__item .ty-price-num { font-size: 15px; }
  /* home Best Sellers: the name wraps to two lines instead of "… Jug (B…" */
  html body .homepage-hotdeals .product-title { white-space: normal !important; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: clip; }
  /* info pages: the empty "Recently viewed" bar on top of every page */
  html body .ty-cs-controller-pages.side-grid, html body .ty-cs-controller-categories.side-grid { display: none !important; }   /* on a phone the side column is only the Recently viewed list, stacked on top */
  /* product pages: the breadcrumb stops at the category (the name is the heading right under the jug) */
  html body .ty-cs-controller-products.ty-cs-mode-view .ty-breadcrumbs > .ty-breadcrumbs__current, html body .ty-cs-controller-products.ty-cs-mode-view .ty-breadcrumbs > .ty-breadcrumbs__slash:has(+ .ty-breadcrumbs__current) { display: none; }
  /* the designer's "See the product photos": a quiet link under the jug on every jug page (as the upload page) */
  html body .tobd-col > .tobd-seekit { background: none !important; border: 0 !important; color: #1f1a17 !important; text-decoration: underline; text-underline-offset: 3px; letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 14px; padding: 6px 4px; margin: 4px auto 2px; }
}

/* ---- 11-20 computer walk (Jay: "walk the site from the computers aspect … fix the rest") ---- */
html body .ty-product-switcher { display: none !important; }                     /* "1 of 1" previous / next */
html body #footer-general_1260 a, html body #footer-general_1260 a span { color: #fff !important; }   /* Contact Us was black on the navy footer */
html body #footer-general_1262 p { color: #c9cfd6 !important; }                  /* the store's own two lines, readable */
html body .ty-cs-controller-checkout #snapping_id_1221 { display: none !important; }   /* checkout had two notes boxes: "Customer's notes" stays */
html body .ty-simple-list .product-title, html body .ty-simple-list a.product-title { white-space: normal !important; }   /* home product rows: whole names */
html body .ty-blog__author, html body .ty-blog__date + .ty-blog__author, html body .ty-blog__post .ty-blog__author { display: none !important; }
@media (min-width: 768px) {
  html body .tygh-header .ty-logo-container img { max-height: 104px; width: auto !important; }   /* the header was 280 px tall, mostly white */
  html body .tygh-header .top-logo-grid { min-height: 0 !important; }
  /* Merlin pages (Design Your Own, personalized, Custom Art): the designer gets the page — no "Customers also bought" column, no stray short text */
  html body .row-fluid:has(> .main-content-grid .tobd) > .span4 { display: none !important; }
  html body .row-fluid > .main-content-grid:has(.tobd) { width: 100% !important; margin-left: 0 !important; float: none !important; }
  html body .ty-product-block:has(.tobd) .ty-product-block__note-wrapper { display: none !important; }
  html body .ty-product-block:has(.tobd) .ty-product-block__title, html body .ty-product-block:has(.tobd) h1 { font-size: 26px; line-height: 1.2; }
  /* plain jug pages: the short text sat in a thin column beside the price (and overlapped it once un-floated) — the Description below says it all */
  html body .ty-product-block:not(:has(.tobd)) .ty-product-block__note-wrapper { display: none !important; }
  /* checkout: the header's cart sits where it does on every other page */
  html body .tygh-header .cart-content-grid.ty-cs-controller-checkout { float: right !important; width: auto !important; }
}
