.rey-home {
  --home-surface: #f8f7f5;
  --home-border: #dedad5;
  --home-heading: #17355b;
  background: var(--home-surface);
}

.rey-home .store-header .navigation {
  background: #ff6900;
  color: #fff;
}
.rey-home .nav-row {
  width: min(calc(100% - 32px), 1520px);
  min-width: 0;
  gap: 6px;
}
.rey-home .nav-row > details,
.rey-home .nav-row > .featured,
.rey-home .featured > li { flex: none; }
.rey-home .featured:empty { display: none; }
.rey-home .nav-row > details > summary,
.rey-home .featured > li > :is(a, details > summary),
.rey-home .home-nav-measure span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 10px;
  border-radius: 0;
  background: transparent;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
}
.rey-home .nav-row > details > summary::after,
.rey-home .category-menu > summary::after,
.rey-home .home-nav-disclosure::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.rey-home .nav-row > details > summary:is(:hover, :focus-visible),
.rey-home .nav-row > details[open] > summary,
.rey-home .featured > li > :is(a, details > summary):is(:hover, :focus-visible),
.rey-home .featured details[open] > summary { background: #ffffff38; }
.rey-home .home-nav-measure {
  position: fixed;
  inset: 0 auto auto 0;
  width: max-content;
  visibility: hidden;
  pointer-events: none;
}
.rey-home .search { border-color: var(--home-border); }
.rey-home .search:focus-within { border-color: var(--home-heading); }


.rey-home { --home-section-width: min(calc(100% - 40px), 1240px); }
.rey-home .home-departments {
  width: var(--home-section-width);
  margin: 24px auto;
}
.rey-home .home-departments h2,
.rey-home .home-outlet h2,
.rey-home .home-outlet h3,
.rey-home .home-schneider h2,
.rey-home .home-promoters h2,
.rey-home .about-partners h2 { color: var(--home-heading); }
.rey-home .home-departments h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}
.rey-home .department-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr));
  gap: 10px;
  padding: 0;
  overflow: visible;
  background: transparent;
}
.rey-home .department-shortcuts a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: #fff;
  color: var(--home-heading);
  font-weight: 600;
}
.rey-home .department-shortcuts a:hover { border-color: #b54708; text-decoration: underline; }

.rey-home .home-outlet { background: var(--home-surface); }
.rey-home .home-outlet .catalog-card {
  border-color: var(--home-border);
  box-shadow: none;
}
.rey-home .catalog-card-pricing { width: 100%; }
.rey-home .home-sale-unit { min-height: 1.25em; margin: 2px 0; font-size: .85rem; }
.rey-home .home-card-action { display: grid; align-self: stretch; }
.rey-home .home-card-action .catalog-buy:focus-visible { outline: 3px solid var(--home-heading); outline-offset: 2px; }
.rey-home .home-card-action .catalog-buy-status {
  position: relative;
  display: block;
  min-height: 2.3em;
  padding-top: 3px;
}
.rey-home .catalog-card-offer > .catalog-primary:not(button) { margin-bottom: 2.3em; }

@media (max-width: 700px) {
  .rey-home .store-header .main-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }
  .rey-home .store-header .brand { grid-column: 1; }
  .rey-home .store-header .utility { order: -1; }
  .rey-home .store-header .utility .utility-phone { min-height: 28px; }
  .rey-home .store-header .navigation {
    position: relative;
    inset: auto;
    pointer-events: auto;
  }
  .rey-home .nav-row, .rey-home .nav-row > .departments { width: 100%; }
  .rey-home .nav-row > .departments > summary {
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    background: transparent;
    color: inherit;
    font-size: .9375rem;
  }
  .rey-home .nav-row > .departments > summary::after { margin-inline-start: auto; }
  .rey-home .store-header .department-list { top: 100%; min-width: 0; }
  .rey-home { --home-section-width: calc(100% - 28px); }
  .rey-home .home-departments { margin-block: 15px; }
  .rey-home .department-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rey-home .department-shortcuts a { min-height: 46px; padding: 6px 9px; }
}

.rey-home .home-featured-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: var(--home-section-width);
  margin: 0 auto 16px;
}
.rey-home .home-featured-heading h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  text-align: left;
}

.home-featured-catalog {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #a8460a;
  border-radius: 7px;
  background: #fff;
  color: #963a06;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.home-featured-catalog:hover { background: #fff1e7; }
.home-featured-catalog:focus-visible { outline: 3px solid #176ab0; outline-offset: 4px; }

.rey-home .department-shortcuts:has(.department-card) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.rey-home .department-shortcuts .department-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  font-weight: 700;
}
.department-card-photo {
  display: block;
  height: 105px;
  overflow: hidden;
}
.department-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 9px;
  object-fit: contain;
}
.department-card-cover img {
  padding: 0;
  object-fit: cover;
}
.department-card-label {
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 57px;
  padding: 10px 12px;
  border-top: 1px solid #efede8;
  line-height: 1.2;
}
@media (max-width: 1000px) {
  .rey-home .department-shortcuts:has(.department-card) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .rey-home .department-shortcuts:has(.department-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .department-card-photo { height: 90px; }
  .department-card-label { padding: 9px; font-size: .875rem; }
}

.rey-home .home-outlet .card-carousel-full-width { width: var(--home-section-width); }
