/* 11-17 distillerystore.com (company 15, wholesale) — loaded only on that store (pdp/hooks/index/links.post.tpl). The same pieces as
   personalizedbarrels.com's pb.css (the slim phone bar), in this store's black and copper (#c88141). The strip is NOT free shipping here (wholesale):
   on a computer it names the store; on a phone it carries the REGISTER HERE button (prices show only to registered buyers). */

/* ---- 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: "WHOLESALE \00B7  BRANDED GIFT SHOP PRODUCTS FOR DISTILLERIES & TASTING ROOMS"; 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 .ds-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 burnt 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_4847 { display: none !important; }   /* My account: an icon in the bar */
  html body .tygh-top-panel .top-links-grid::before { content: none; display: none; 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 .ds-icons { order: 2; display: flex !important; align-items: center; gap: 2px; }
  html body .tygh-header .cart-content-grid, html body .tygh-header .ty-cr-content-grid { display: none !important; }   /* this store's cart grid is .ty-cr-content-grid (the cart is an icon in the bar) */
  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.ds-search-open body .tygh-header .search-block-grid { display: block !important; }
  html body .tygh-header .top-menu-grid { display: none !important; }
  html.ds-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: #111111; }
  html.ds-menu-open body .tygh-header .top-menu-grid::before { display: none !important; }
  /* the theme lays the menu out with an id rule — #snapping_id_4854 ul.ty-menu__items {display:flex !important} — so the open menu's rules carry the id too */
  html.ds-menu-open body .tygh-header .top-menu-grid .ty-menu__items, html.ds-menu-open body .tygh-header .top-menu-grid #snapping_id_4854 ul.ty-menu__items { display: block !important; width: 100% !important; margin: 0 !important; padding: 4px 0 !important; background: none !important; }
  html.ds-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.ds-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.ds-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.ds-menu-open body .tygh-header .top-menu-grid .ty-menu__submenu a { display: block !important; padding: 11px 18px 11px 34px !important; color: #f6e7d6 !important; -webkit-text-fill-color: #f6e7d6 !important; font-size: 15px !important; }
  html.ds-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 .ds-icon { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: none; color: #111111 !important;
    font-size: 22px; text-decoration: none !important; cursor: pointer; padding: 0; }
  html body .ds-icon .ty-icon { font-size: 22px; color: #111111; }
  html body .ds-icon b { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #a8692f; color: #fff; font-size: 11px; font-weight: 800; line-height: 17px; text-align: center; }
  html body .ds-icon--menu { background: #c88141; border-radius: 8px; width: 44px; margin-left: 4px; }
  html body .ds-icon--menu .ty-icon { color: #fff; }
}


/* ---- 11-17 wholesale: on a phone the strip holds the REGISTER HERE button (the rest of the top panel is icons in the bar) */
@media (max-width: 767px) {
  html body .tygh-top-panel .top-links-grid > #snapping_id_4849 { display: block !important; float: none !important; margin: 0 auto !important; width: auto !important; }
  html body .tygh-top-panel #snapping_id_4849 .top-panel-btn { height: 30px !important; line-height: 30px !important; padding: 0 16px !important; border-radius: 0 0 8px 8px !important; font-size: 12px !important; display: inline-block !important; }
  html body .tygh-top-panel #snapping_id_4849 .ty-dropdown-box__title-text { line-height: 30px !important; padding: 0 !important; }
}
/* ---- 11-17 the banner carousel ran 330 px past the screen (sideways scroll on phones); clip, not hidden, so nothing becomes its own scroll box
   (and the header can still stick: the theme's .ty-helper-container clip, as tob.css / mj.css) */
html body .ty-helper-container { overflow: visible !important; overflow-x: clip !important; }
html body .tygh-content { overflow-x: clip; }
