#dk-shop-nav { position: sticky; top: 0; z-index: 90; background: #faf6ef; box-shadow: 0 3px 14px #27202012; }
.dk-nav-bar { max-width: 1440px; min-height: 62px; margin: auto; display: flex; align-items: center; gap: 1rem; padding: 0 1.25rem; }
.dk-nav-brand img { width: 140px; height: auto; display: block; }
.dk-nav-primary, .dk-nav-desktop-links { display: flex; align-items: center; gap: .9rem; }
.dk-nav-primary { min-width: 0; }
.dk-nav-desktop-links a, .dk-nav-utilities a, .dk-menu-toggle summary { display: inline-flex; align-items: center; min-height: 44px; color: #22201f; }
.dk-nav-utilities { display: flex; gap: .3rem; }
.dk-nav-utilities a { justify-content: center; min-width: 44px; font-size: 1.45rem; }
.dk-menu-toggle > summary, .dk-nav-submenu > summary { cursor: pointer; list-style: none; }
.dk-menu-toggle > summary::-webkit-details-marker, .dk-nav-submenu > summary::-webkit-details-marker { display: none; }
.dk-menu-panel {
  position: absolute;
  inset: 100% 0 auto;
  max-height: calc(100vh - 7rem);
  max-height: calc(100dvh - 7rem);
  overflow: auto;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 12px 20px #27202022;
}
.dk-menu-content { max-width: 1320px; margin-inline: auto; }
#dk-shop-nav.dk-nav-fixed .dk-menu-panel { max-height: calc(100dvh - 62px); }
#dk-shop-nav .dk-menu-columns { display: flex; align-items: flex-start; gap: 1.5rem; }
.dk-menu-columns > section { flex: 1; min-width: 0; }
#dk-shop-nav .dk-menu-columns > section h2 { margin: 0 0 .2rem; text-align: left; font-size: 1rem; text-transform: none; }
#dk-shop-nav .dk-menu-columns > section h2 a { display: block; color: #22201f; }
.dk-menu-columns h2 img, .dk-nav-tile img {
  display: block;
  width: 100%;
  height: clamp(100px, 13vw, 164px);
  background: #f6eee8;
  object-fit: contain;
  object-position: center;
}
.dk-menu-columns h2 span { display: flex; align-items: center; min-height: 44px; }
#dk-shop-nav .dk-nav-tile { display: block; color: #22201f; font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.35; white-space: normal; }
.dk-nav-tile span { display: flex; align-items: center; min-height: 44px; }
#dk-shop-nav .dk-menu-columns section > a { display: flex; width: fit-content; min-height: 36px; padding-block: .15rem; }
#dk-shop-nav a:focus-visible, #dk-shop-nav summary:focus-visible { outline: 2px solid #623b46; outline-offset: 2px; }
#dk-shop-nav.dk-nav-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 999; }
.dk-menu-more { display: flex; flex-wrap: wrap; gap: 0 1.5rem; border-top: 1px solid #e9d7d2; margin-top: 1rem; }
#dk-shop-nav .dk-menu-more a { display: inline-flex; align-items: center; min-height: 44px; }

.dk-nav-department { display: flex; align-items: center; }
.dk-nav-submenu > summary { display: grid; place-items: center; width: 26px; height: 44px; color: #22201f; }
.dk-nav-submenu > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.dk-nav-submenu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
#dk-shop-nav .dk-nav-tile-grid { display: grid; gap: 1.5rem; list-style: none; padding: 0; padding-inline: 0; margin-block: 0; }
.dk-nav-submenu .dk-nav-tile-grid {
  --dk-menu-size-column: clamp(8rem, 14vw, 11rem);
  grid-template-columns: repeat(5, minmax(0, 1fr)) var(--dk-menu-size-column);
}

/* A sixth photo uses narrower gutters instead of the narrower size column. */
.dk-nav-submenu .dk-nav-tile-grid:has(> :nth-child(6)) {
  grid-template-columns: repeat(6, calc((100% - var(--dk-menu-size-column) - 7.5rem) / 5));
  column-gap: 0;
  justify-content: space-between;
}
#dk-shop-nav .dk-nav-submenu a:hover,
#dk-shop-nav .dk-menu-columns a:hover,
#dk-shop-nav .dk-menu-more a:hover { text-decoration: underline; text-underline-offset: .18em; }

.dk-nav-search summary { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #22201f; cursor: pointer; list-style: none; }
.dk-nav-search summary::-webkit-details-marker { display: none; }
.dk-nav-search-panel { position: absolute; top: 100%; right: max(1rem, calc((100% - 1440px)/2 + 1rem)); width: min(calc(100% - 2rem), 36rem); padding: .75rem; background: #faf6ef; box-shadow: 0 12px 20px #27202022; }
.dk-nav-search-panel form { display: flex; gap: .5rem; }
.dk-nav-search-panel input[type=search] { flex: 1; min-width: 0; min-height: 44px; padding: .5rem .75rem; border: 1px solid #7a6868; color: #22201f; background: #fff; }
.dk-nav-search-panel button { padding: .5rem .9rem; border: 0; color: #fff; background: #623b46; cursor: pointer; }
.dk-nav-search-panel :focus-visible { outline: 2px solid #623b46; outline-offset: 2px; }

.dk-menu-columns > .dk-menu-size { flex: 0 0 clamp(8rem, 14vw, 11rem); }
.dk-menu-size-list { display: flex; flex-wrap: wrap; gap: .3rem .7rem; margin-bottom: 0; }
.dk-menu-size-list a, #dk-shop-nav .dk-menu-size summary { min-height: 44px; }
#dk-shop-nav .dk-menu-size summary { display: list-item; list-style: revert; padding: .6rem 0; }
#dk-shop-nav .dk-menu-size summary::-webkit-details-marker { display: revert; }
#dk-shop-nav .dk-menu-more .dk-menu-mobile-blog { display: none; }
@media (max-width: 1199px) {
  #dk-shop-nav .dk-menu-more .dk-menu-mobile-blog { display: inline-flex; }
  .dk-nav-desktop-links { display: none; }
  .dk-nav-brand { margin-right: auto; }
}
@media (max-width: 1000px) {
  #dk-shop-nav .dk-menu-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .dk-menu-columns > .dk-menu-size { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .dk-nav-bar { gap: .3rem; padding-inline: .6rem; }
  .dk-nav-brand img { width: 110px; }
  .dk-menu-panel { padding: .875rem; }
  .dk-menu-columns h2 img, .dk-nav-tile img { height: 100px; }
}
@media (min-width: 1200px) {
  .dk-nav-bar {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) max-content minmax(max-content, 1fr);
  }
  .dk-nav-brand { justify-self: start; }
  .dk-nav-utilities { justify-self: end; }
  .dk-nav-primary { white-space: nowrap; }
  .dk-menu-toggle > summary, .dk-nav-department { min-height: 62px; }
  .dk-menu-content { white-space: normal; }
}
.quickview .dk-purchase-policies { margin: 12px 0 0; border-block: 1px solid #eaded8; }
.quickview .dk-service-policies { display: grid; gap: 10px; margin: 0; padding: 12px 0; list-style: none; }
.quickview .dk-service-policies li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 12px; align-items: start; }
.quickview .dk-service-policies .material-icons { color: #623b46; font-size: 20px; }
.quickview .dk-service-policies p { margin: 0; color: #3e3736; line-height: 1.5; }
.quickview .dk-service-policies a { color: #623b46; text-decoration: underline; }
/* Keep the announcement and contact link on one compact mobile row. */
@media (max-width: 767px) {
  #header .dk-header-ribbon .elementor-row { display: flex; flex-wrap: nowrap; align-items: center; }
  #header .dk-header-ribbon .elementor-column:first-child { width: auto; flex: 1 1 auto; min-width: 0; }
  #header .dk-header-ribbon .elementor-column:last-child { width: auto; flex: 0 0 auto; }
  #header .dk-header-ribbon .elementor-column-wrap { padding: 0; }
  #header .dk-header-ribbon .elementor-widget-wrap { padding: 0; }
  #header .dk-header-ribbon .dk-ribbon-text { margin: 0; line-height: 1.3; font-size: 11px; }
  #header .dk-header-ribbon .dk-ribbon-links { text-align: right; }
  #header .dk-header-ribbon .dk-ribbon-links a { display: inline-flex; align-items: center; min-height: 36px; padding-inline: 8px; }
}
@media (max-width: 360px) {
  #dk-shop-nav .dk-nav-brand img { width: 88px; }
  #dk-shop-nav .dk-menu-toggle summary { white-space: nowrap; font-size: 12px; }
}
#header .dk-header-ribbon .elementor-row { display: flex; justify-content: center; }
#header .dk-header-ribbon .elementor-column:first-child { width: 100%; flex: 1 1 100%; }
#header .dk-header-ribbon .dk-ribbon-text { margin: 0; text-align: center; padding: 8px 10px; line-height: 1.3; }
/* Quantity controls retain the theme's native step behaviour. */
.product-quantity .bootstrap-touchspin .btn-touchspin { background-color: #623b46 !important; border-color: #623b46 !important; color: #fff !important; }
.product-quantity .bootstrap-touchspin .btn-touchspin i { color: #fff !important; }
.product-quantity .bootstrap-touchspin .btn-touchspin:focus-visible { outline: 3px solid #aa6b7c; outline-offset: 2px; z-index: 3; }
/* Keep category imagery, headings and links on a shared reading edge. */
#dk-shop-nav .dk-menu-columns > section { text-align: left; }
#dk-shop-nav .dk-menu-size-list { justify-content: flex-start; padding: 0; margin: 0; gap: 0 .75rem; }
#dk-shop-nav .dk-menu-size-list li { margin: 0; padding: 0; }


#product-availability.dk-low-stock {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .8rem;
  border: 1px solid #e5c152;
  border-radius: .25rem;
  background: #fff1ad;
  color: #543a06;
}
#product-availability.dk-low-stock .product-last-items { color: inherit; }
