/* Drinkware filters (resources/views/catalog/partials/drink-filters.blade.php): icon bar + toolbar dropdowns,
   same set-up as the glass promo sites (bierglazen-bedrukken.com public/css/xxl.css), in the dark xxlgifts theme. */
.assortiment-template { --x-f: #dd3e34; --x-f-dark: #b4222d; --x-f-text: #ffffff; --x-f-hl: #f2564b; --x-f-line: #5c5c5c;
  --x-panel: #444444; --x-menu: #3a3a3a; --x-text: #ffffff; --x-muted: #bdbdbd; }

.x-filter-heading.category-showcase-heading { margin-top: 4px; }
.x-iconbar { margin: 0 0 16px; padding: 12px 14px 10px; background: var(--x-panel); border: 1px solid var(--x-f-line); border-radius: 6px; }
.x-iconbar-form { display: contents; }
.x-iconbar-row { display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 4px 2px; }
.x-iconbar-sep { flex: 0 0 1px; align-self: stretch; width: 1px; margin: 6px 8px; background: var(--x-f-line); }
.x-ico { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 3px 4px; cursor: pointer; text-decoration: none !important; }
.x-ico input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.x-ico-img { position: relative; display: block; flex: none; width: 42px; height: 42px; border-radius: 50%; transition: box-shadow .15s ease; }
.x-ico-img img { position: absolute; inset: 0; width: 42px; height: 42px; transition: opacity .15s ease; }
.x-ico-img .x-ico-off { filter: brightness(0) invert(1); }
.x-ico-img .x-ico-on, .x-ico-img .x-ico-hover { opacity: 0; }
.x-ico-text { display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 800; font-size: 13px; color: var(--x-text); text-transform: uppercase; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--x-text); }
.x-ico-label { max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-align: center; overflow-wrap: anywhere; hyphens: auto; font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--x-text); }
.x-ico:hover .x-ico-img { box-shadow: 0 0 0 2px var(--x-f-dark); }
.x-ico:hover .x-ico-label { color: var(--x-f-hl); }
.x-ico.is-on .x-ico-on { opacity: 1; }
.x-ico.is-on .x-ico-off { opacity: 0; }
.x-ico.is-on .x-ico-img { box-shadow: 0 2px 8px rgba(221, 62, 52, .45); }
.x-ico.is-on .x-ico-text { background: var(--x-f); box-shadow: none; }
.x-ico.is-on .x-ico-label { color: var(--x-f-hl); font-weight: 700; }
.x-ico.is-on:hover .x-ico-on { opacity: 0; }
.x-ico.is-on:hover .x-ico-hover { opacity: 1; }
.x-ico.is-on:hover .x-ico-text { background: var(--x-f-dark); }
.x-ico.is-on:hover .x-ico-img { box-shadow: 0 2px 8px rgba(180, 34, 45, .55); }
.x-ico input:focus-visible + .x-ico-img { box-shadow: 0 0 0 3px var(--x-f); }
.x-ico.is-empty { opacity: .35; cursor: default; }
.x-ico.is-empty:hover .x-ico-img { box-shadow: none; }
.x-ico.is-empty:hover .x-ico-label { color: var(--x-text); }

.x-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; }
.x-count { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: #9ca3af; white-space: nowrap; }
.x-count-of { color: #6b7280; }
.x-tbf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.x-dd { position: relative; display: flex; }
.x-dd summary, .x-pill, .x-sort select { box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; height: 38px; margin: 0; padding: 0 12px; line-height: 1;
  border: 1px solid var(--x-f-line); border-radius: 6px; background: #3d3d3d; color: var(--x-text); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; list-style: none; user-select: none; }
.x-dd summary::-webkit-details-marker { display: none; }
.x-dd summary:hover, .x-dd[open] summary, .x-pill:hover, .x-sort select:hover, .x-sort select:focus { border-color: var(--x-f-dark); outline: none; }
.x-dd.is-on summary { border-color: var(--x-f); }
.x-dd-caret { width: 7px; height: 7px; margin: -3px 0 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7; }
.x-dd[open] .x-dd-caret { transform: rotate(225deg); margin-top: 3px; }
.x-dd-n { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--x-f); color: var(--x-f-text); }
.x-dd.is-on summary:hover .x-dd-n { background: var(--x-f-dark); }
.x-dd-menu { position: absolute; z-index: 60; top: calc(100% + 6px); right: 0; min-width: 230px; max-height: 340px; overflow: auto; padding: 6px; border-radius: 8px;
  background: var(--x-menu); border: 1px solid var(--x-f-line); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.x-tbf .x-dd:first-of-type .x-dd-menu { left: 0; right: auto; }
.x-dd-opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 5px; cursor: pointer; font-size: 13px; color: var(--x-text); }
.x-dd-opt:hover { background: #4a4a4a; }
.x-dd-opt input, .x-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.x-pill { position: relative; }
.x-dd-swatch { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.x-dd-box { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #9a9a9a; }
.x-dd-opt.is-on .x-dd-box { box-shadow: none; background: var(--x-f) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.x-dd-opt.is-on:hover .x-dd-box { background-color: var(--x-f-dark); }
.x-dd-opt.is-on .x-dd-swatch { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 2px var(--x-menu), 0 0 0 4px var(--x-f); }
.x-dd-opt.is-on .x-dd-label { font-weight: 700; }
.x-dd-label { flex: 1; }
.x-dd-count { font-size: 12px; color: var(--x-muted); }
.x-dd-opt.is-empty { opacity: .4; }
.x-pill.is-on { background: var(--x-f); border-color: var(--x-f); color: var(--x-f-text); }
.x-pill.is-on:hover { background: var(--x-f-dark); border-color: var(--x-f-dark); }
.x-sort { display: flex; align-items: center; }
.x-sort select { appearance: none; -webkit-appearance: none; padding-right: 32px;
  background: #3d3d3d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 12px no-repeat; }
.x-sort select option { background: #3a3a3a; color: #ffffff; }
.x-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.x-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 22px; }
.x-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--x-panel); border: 1px solid var(--x-f-line); font-size: 12px; font-weight: 600; color: var(--x-text) !important; text-decoration: none !important; }
.x-chip span { font-size: 15px; line-height: 1; color: var(--x-f-hl); }
.x-chip:hover { border-color: var(--x-f-dark); }
.x-chips-reset { margin-left: 4px; font-size: 13px; font-weight: 600; color: var(--x-f-hl) !important; }
.x-chips-reset:hover { color: var(--x-f) !important; }
body.x-filtering #product-grid { opacity: .5; transition: opacity .2s; }
@media (min-width: 1440px) { #product-grid.x-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

@media (max-width: 1023px) {
  .x-iconbar { padding: 10px; }
  .x-iconbar-row { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .x-iconbar-row::-webkit-scrollbar { display: none; }
  .x-ico { flex: 0 0 auto; min-width: 64px; }
  .x-tbf { order: 3; flex-basis: 100%; margin-left: 0; }
  .x-sort { margin-left: auto; }
}

/* sidebar category links (drinkware): same look as the sidebar filter items, the current page in red */
.drink-nav { gap: 2px !important; }
.drink-nav-link { text-decoration: none !important; padding: 6px 8px; border-radius: 5px; }
.drink-nav-link:hover { color: var(--x-f-hl) !important; }
.drink-nav-link.is-open { font-weight: 700; }
.drink-nav-link.is-active { color: var(--x-f-hl) !important; font-weight: 700; box-shadow: inset 3px 0 0 var(--x-f); }
.drink-nav-sub { padding-left: 22px; font-size: 13px; }
.is-assortiment .drink-nav-sub, .drink-nav-sub { padding-left: 24px !important; }
/* categories on the first row, features + sizes on the second, each spread over the full width */
.x-iconbar-row--2 { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--x-f-line); }
.x-ico-label { hyphens: manual; overflow-wrap: normal; word-break: normal; font-size: 11.5px; }
.x-iconbar-row:first-child .x-ico { padding-left: 0; padding-right: 0; } .x-iconbar-row:first-child .x-ico-label { font-size: 11px; letter-spacing: -.01em; }
/* two bars: the subcategory bar sits right above the filter bar */
.x-iconbar--subs { margin-bottom: 10px; }
.x-iconbar--subs + .x-iconbar-form { display: none; }
