/* Demit Gold 2.18 -- position, mobile toolbar, horizontal discovery, motion */
:root{--dg218-gold:#c69b54}
/* Catalog filter is in its own content grid and must not be obscured by the sticky site header. */
@media(min-width:761px){
  html body .dg-catalog-shell .dg-catalog-layout{position:relative;isolation:isolate;overflow:visible!important;align-items:start}
  html body .dg-catalog-shell .dg-filter-sidebar{position:relative!important;top:auto!important;grid-column:1!important;grid-row:1!important;z-index:1!important;max-height:none!important;overflow:visible!important;align-self:start!important}
  html body .dg-catalog-shell .dg-catalog-results{position:relative;z-index:1!important;grid-column:2!important;grid-row:1!important;min-width:0}
  #site-header.dg313-header{z-index:1100!important}
}
/* The four image categories visibly scroll on tablets; controlled by a subtle edge gradient. */
@media(max-width:899px){
  #site-header .dg313-featured{position:relative!important;isolation:isolate}
  #site-header .dg313-featured-inner{padding-inline:14px 38px!important;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;scroll-behavior:smooth}
  #site-header .dg313-featured-inner>.dg313-tile{scroll-snap-align:start}
  #site-header .dg218-featured-hint{position:absolute;left:0;top:0;bottom:0;z-index:3;pointer-events:none;display:grid;place-items:center;width:33px;color:#875d21;font-size:30px;font-weight:700;background:linear-gradient(90deg,#fffaf4 50%,#fffaf400)}
}
@media(min-width:900px){#site-header .dg218-featured-hint{display:none}}
/* Store toolbar keeps filter + sorting on a single row on mobile. */
.dg218-sort-mobile{display:none}
@media(max-width:760px){
  .dg-catalog-shell .dg218-catalog-toolbar{display:flex!important;flex-direction:row!important;align-items:stretch!important;justify-content:space-between!important;gap:8px!important;flex-wrap:nowrap!important;min-width:0!important}
  .dg218-catalog-toolbar .dg-catalog-toolbar-main{display:flex!important;flex:0 0 auto!important;gap:6px!important;align-items:center!important;min-width:0}
  .dg218-catalog-toolbar .dg-catalog-count{display:none!important}
  .dg218-catalog-toolbar .dg-filter-open{display:inline-flex!important;height:44px!important;white-space:nowrap!important;padding:5px 10px!important;border-radius:11px!important;font-size:12px!important}
  .dg218-catalog-toolbar .dg-catalog-sort{display:flex!important;flex:1 1 0!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;min-width:0!important;margin:0!important}
  .dg218-catalog-toolbar .dg-catalog-sort label{font-size:11px!important;white-space:nowrap!important}
  .dg218-sort-desktop{display:none}.dg218-sort-mobile{display:inline}
  .dg218-catalog-toolbar .dg-catalog-sort-select{width:100%!important;min-width:0!important;max-width:165px!important;height:44px!important;font-size:12px!important;padding:5px 8px!important;border-radius:10px!important}
  .dg218-catalog-toolbar .dg-catalog-sort-submit{padding:8px!important;min-width:42px!important;height:44px!important;font-size:11px!important;border-radius:10px!important}
}
/* Editorial menu overlay must occupy a layer above page content, never under filters. */
#site-header.dg313-header .dg214-quick-menu.dg215-mega:not([hidden]){z-index:1250!important;transform-origin:top right;animation:dg218MegaEnter .27s cubic-bezier(.2,.8,.2,1) both}
@keyframes dg218MegaEnter{from{opacity:0;transform:translateY(-9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
#site-header .dg215-mega .dg215-cat-card{transition:transform .2s ease,box-shadow .2s ease!important}
#site-header .dg215-mega .dg215-cat-card:hover{transform:translateY(-3px)!important;box-shadow:0 10px 25px #213c281a!important}
/* Mobile: all real WooCommerce root categories, accessible even if admin menu has no submenu. */
#site-header .dg218-mobile-products{margin:12px 14px;border:1px solid #e9decf;border-radius:13px;background:#fffdf8;color:#133f31}
#site-header .dg218-mobile-products>summary{list-style:none;display:flex;gap:10px;justify-content:space-between;align-items:center;padding:14px 12px;font-weight:750;cursor:pointer}
#site-header .dg218-mobile-products>summary::-webkit-details-marker{display:none}
#site-header .dg218-mobile-products>summary>span{font-size:11px;color:#a38352;font-weight:450}
#site-header .dg218-mobile-cats{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:9px;border-top:1px solid #eee5d6}
#site-header .dg218-mobile-cats>a{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:11px 8px;border-radius:9px;background:#f7f3ed;color:#173b30;font-size:12px;text-decoration:none}
#site-header .dg218-mobile-cats>a span{color:#a97c36;font-size:20px}
#site-header .dg218-drawer-contact{padding:13px 17px;margin:8px 14px;border-radius:12px;background:#0b4538;color:#fff;display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;font-size:12px}
#site-header .dg218-drawer-contact a{color:#e6c992;text-decoration:none;direction:ltr}
@media(min-width:900px){#site-header .dg218-mobile-products,#site-header .dg218-drawer-contact{display:none!important}}
@media(prefers-reduced-motion:reduce){#site-header.dg313-header .dg214-quick-menu.dg215-mega:not([hidden]){animation:none!important}}

#site-header .dg215-mega .dg218-mega-contact{position:sticky;bottom:0;z-index:4;padding:11px 10px;border-top:1px solid #e8ddcb;background:#f8f4eb;color:#244536;font-size:11px;line-height:1.65;display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}
#site-header .dg215-mega .dg218-mega-contact a{color:#99713c;direction:ltr;text-decoration:none;font-weight:700}
#site-header .dg215-mega .dg215-rail{display:flex;flex-direction:column}
#site-header .dg215-mega .dg215-rail>.dg214-tree{flex:1 0 auto}
