@font-face {
  font-family: Roboto;
  src: url("assets/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --orange: #ff6900;
  --outlet: #ff2600;
  --main-bg: #fff;
  --ink: #393939;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #1b3550; outline-offset: 3px; }
svg { width: 1.5rem; height: 1.5rem; flex: none; }
svg:not(.solid, .symbols) { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.symbols { position: absolute; width: 0; height: 0; }
[hidden] { display: none !important; }

.utility {
  background: #fcf6f1;
  border-bottom: 1px solid #ede3dc;
  color: #514740;
  font-size: .875rem;
  font-weight: 400;
}
.utility-right, .main-header {
  width: min(calc(100% - 48px), 1520px);
  margin-inline: auto;
}
.utility-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  min-height: 30px;
}
.utility-right a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  white-space: nowrap;
}
.utility-right a:hover { color: #a64400; text-decoration: underline; }
.utility-right [data-utility-link] + :is([data-utility-link], .utility-phone) {
  margin-inline-start: 12px;
}
.utility-right [data-utility-link] + :is([data-utility-link], .utility-phone)::before {
  content: "";
  height: 12px;
  margin-inline-end: 5px;
  border-inline-start: 1px solid #ded3cb;
}
.utility-phone strong {
  color: #a64400;
  font-weight: 700;
}

.main-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(16px, 2.25vw, 36px);
  align-items: center;
}
header { background: var(--main-bg); }
.brand img {
  display: block;
  width: clamp(142px, 15vw, 216px);
  max-width: 100%;
  height: auto;
}
.search {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #d5d0cc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px #3826150d;
}
.search:focus-within {
  border-color: #b64d00;
  box-shadow: 0 0 0 2px #ff690026;
}
.search input {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  padding: 0 12px 0 16px;
  font-size: 1rem;
  color: var(--ink);
}
.search input:focus { outline: none; }
.search input::placeholder { color: #68635f; opacity: 1; }
.search button {
  position: relative;
  align-self: stretch;
  display: grid;
  flex: 0 0 56px;
  place-items: center;
  border: 0;
  border-radius: 0 7px 7px 0;
  background: transparent;
  color: #ac4800;
}
.search button::before {
  content: "";
  position: absolute;
  inset-block: 10px;
  inset-inline-start: 0;
  border-inline-start: 1px solid #e1dcd8;
}
.search button:hover { background: #fff2e9; }
.search button:focus-visible { outline-offset: -4px; }
.search button svg { width: 24px; height: 24px; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions .cart {
  padding-inline-start: 16px;
  border-inline-start: 1px solid #ded8d4;
}
.account-button, .cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #2b2623;
  text-align: start;
}
.header-action-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: #fff1e7;
  color: #b34b00;
}
:is(.account-button, .cart-button):hover .header-action-icon {
  background: #ffe5d3;
}
.header-action-label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.header-action-hint {
  display: block;
  margin-block-start: 3px;
  color: #625953;
  font-size: .875rem;
  font-weight: 400;
}
.utility-panel {
  margin: 0;
  padding: 16px;
  inset: 114px max(16px, calc((100vw - 1500px) / 2)) auto auto;
  max-width: calc(100% - 32px);
  color: var(--ink);
  background: white;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px #0002;
}
.utility-panel a { text-decoration: underline; }

.navigation { background: var(--orange); color: #fff; }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 50px;
  margin-inline: auto;
  width: fit-content;
  max-width: 100%;
}
.featured, .department-list { list-style: none; padding: 0; margin: 0; }
.featured { display: flex; gap: 6px; min-width: 0; }
.nav-row > details > summary, .featured > li > details > summary {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  min-height: 48px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
}
.nav-row > .departments > summary { font-weight: 600; }
.nav-row summary { cursor: pointer; list-style: none; }
.nav-row summary::-webkit-details-marker { display: none; }
.nav-row summary svg { width: 14px; height: 14px; stroke-width: 3.4; }
.nav-row > details > summary:hover, .nav-row > details[open] > summary,
.category-menu > summary:hover, .category-menu[open] > summary { background: #d65100; }
.featured .outlet { background: var(--outlet); padding-inline: 12px; border-radius: 6px; }
.featured .outlet:hover { background: #cf2000; }
.nav-row :focus-visible { outline-offset: -3px; }
.departments, .more, .category-menu { position: relative; }
.department-list {
  position: absolute;
  top: 100%;
  z-index: 1;
  min-width: 295px;
  max-width: calc(100vw - 24px);
  background: white;
  border: 1px solid #eee0d5;
  box-shadow: 0 8px 20px #0002;
  color: #303030;
}
.department-list > li > a, .category-flyout > summary {
  display: block;
  padding: 10px 32px 10px 15px;
  font-size: 14px;
}
.category-flyout > summary::after {
  content: '›';
  position: absolute;
  right: 14px;
  font-weight: 700;
}
.department-list > li > a:hover, .category-flyout > summary:hover, .category-flyout[open] > summary {
  background: #fff1e7;
  color: #a94000;
}
.category-panel {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: var(--panel-offset, 0px);
  padding: 18px 24px 20px;
  width: min(calc(var(--columns, 2) * 265px + 70px), calc(100vw - 24px));
  max-height: min(520px, 65vh);
  overflow-y: auto;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 6px 12px #0006;
  background: white;
  color: #242121;
}
.category-panel p { margin: 0 0 7px; font-weight: 700; }
.category-panel .view-all { display: inline-block; font-size: 13px; text-decoration: underline; }
.category-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows), auto);
  grid-auto-flow: column;
  column-gap: 18px;
}
.category-links a { display: block; padding: 6px 0; font-size: 13px; }
.category-panel a:hover { color: #a94000; text-decoration: underline; }
.category-flyout > .category-panel {
  top: 0;
  left: 100%;
  width: min(640px, 54vw);
}
.more .category-flyout > .category-panel { left: auto; right: 100%; }
.more .department-list { right: 0; min-width: 190px; }

@media (max-width: 1120px) {
  .header-actions { gap: 12px; }
  .header-actions .cart { padding-inline-start: 12px; }
}
@media (max-width: 700px) {
  .utility-right { width: calc(100% - 32px); }
  .utility-right a { gap: 4px; }
  .utility-right [data-utility-link] + :is([data-utility-link], .utility-phone) { margin-inline-start: 6px; }
  .utility-right [data-utility-link] + :is([data-utility-link], .utility-phone)::before { margin-inline-end: 2px; }
  .main-header {
    width: calc(100% - 32px);
    padding: 8px 0 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
  }
  .brand img { width: 166px; }
  .header-actions { grid-area: 1 / -2 / 2 / -1; gap: 6px; }
  .header-actions .cart { padding-inline-start: 0; border-inline-start: 0; }
  .account-button, .cart-button { min-height: 44px; }
  .header-action-icon { width: 44px; height: 44px; }
  .header-action-label { display: none; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .search input { padding-inline-start: 12px; }
  .search button { flex-basis: 46px; }
  .nav-row { width: 100%; }
  .nav-row summary { min-height: 48px; }
  .departments { position: static; }
  .navigation { position: relative; }
  .department-list { left: 0; max-width: 100%; width: 100%; max-height: 65vh; overflow-y: auto; }
  .category-flyout > .category-panel { position: static; width: 100%; max-height: none; border-radius: 0; box-shadow: none; }
  .category-links { display: block; }
  .category-links a { padding-block: 9px; }
  .utility-panel { top: 85px; }
}

.utility .utility-dw-products {
  min-height: 24px;
  margin: 3px 0 3px 12px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: #a64400;
  white-space: nowrap;
}

#account-panel {
  box-sizing: border-box;
  width: min(310px, calc(100% - 24px));
  max-width: none;
  max-height: min(70vh, 440px);
  overflow: auto;
  border-radius: 12px;
  box-shadow: 0 8px 22px #0003;
}
.account-button [data-account-title] {
  display: block;
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-menu-profile {
  display: grid;
  gap: 4px;
  overflow-wrap: anywhere;
  padding-bottom: 12px;
  border-bottom: 1px solid #ded8d4;
  margin-bottom: 12px;
}
.account-menu-profile > strong { font-size: 1.125rem; }
.account-menu-profile span { color: #625953; font-size: .875rem; }
.account-menu-company {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid #ded8d4;
  margin-top: 8px;
}
.account-menu-links { display: grid; gap: 8px; }
.account-menu-links a,
.account-menu-links button {
  width: fit-content;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #963d0a;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.account-menu-links button:disabled { opacity: .65; cursor: wait; }
.account-menu-error { color: #a22020; font-size: .875rem; margin: 0; }

.search { position: relative; }
.rey-search-suggestions {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  inset-inline: 0;
  max-height: 18rem;
  overflow-y: auto;
  margin: 0;
  padding: .3rem 0;
  list-style: none;
  background: #fff;
  color: #25221f;
  border: 1px solid #d5d0cc;
  border-radius: 8px;
  box-shadow: 0 8px 20px #38261524;
}
.rey-search-suggestions li { padding: .7rem .85rem; cursor: pointer; }
.rey-search-suggestions li:hover,
.rey-search-suggestions [aria-selected="true"] { background: #fff2e9; }
.rey-search-suggestions small { display: block; margin-top: .15rem; color: #68635f; font-size: .875rem; }
.rey-search-suggestions li { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: .65rem; }
.rey-search-suggestions li > span:last-child { overflow-wrap: anywhere; }
.rey-suggestion-photo { width: 42px; height: 42px; background: #f4f2f0; border-radius: 5px; overflow: hidden; }
.rey-suggestion-photo img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }

.rey-search-skeleton { pointer-events: none; }
.rey-search-skeleton-lines { display: grid; gap: .4rem; }
.rey-search-skeleton-lines span { width: 78%; height: .75rem; border-radius: 4px; }
.rey-search-skeleton-lines span + span { width: 38%; height: .55rem; }
.rey-search-skeleton :is(.rey-suggestion-photo, .rey-search-skeleton-lines span) {
  background: #ede9e6;
  animation: rey-search-loading 1.1s ease-in-out infinite alternate;
}
@keyframes rey-search-loading { from { opacity: 1; } to { opacity: .48; } }
@media (prefers-reduced-motion: reduce) {
  .rey-search-skeleton :is(.rey-suggestion-photo, .rey-search-skeleton-lines span) { animation: none; }
}
