/* Shared storefront foundation. Load after assets/css/styles.css. */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,500,0,0&display=swap");

:root {
  --header-height: 88px;
}

[data-partial][data-partial-status="error"] {
  min-height: 2rem;
}

.site-header {
  min-height: var(--header-height);
}

.site-header .header-main-nav {
  min-height: var(--header-height);
  padding: .55rem 0;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.header-socials a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: rgba(255, 255, 255, .86);
}

.header-socials a:hover {
  color: var(--gold);
}

.site-header .brand-copy strong {
  white-space: nowrap;
}

.site-header .brand-copy small {
  font-size: .85rem;
  letter-spacing: .28em;
}

/* Custom checkbox with Material Symbols */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  -webkit-font-smoothing: antialiased;
}

.custom-check {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: .7rem;
  margin: 0;
  cursor: pointer;
}

.custom-check-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  appearance: none;
}

.custom-check-box {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: transparent;
  background: #fff;
  border: 1.5px solid #8a958f;
  border-radius: .2rem;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.custom-check-box .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  transform: scale(.86);
  transition: transform .15s ease;
}

.custom-check-copy {
  min-width: 0;
  line-height: 1.45;
  color: var(--ink);
}

.custom-check-copy a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .12em;
}

.custom-check-input:checked + .custom-check-box {
  color: #fff;
  background: var(--green-900);
  border-color: var(--green-900);
}

.custom-check-input:checked + .custom-check-box .material-symbols-outlined {
  transform: scale(1);
}

.custom-check-input:focus-visible + .custom-check-box {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.custom-check:hover .custom-check-box {
  border-color: var(--green-700);
}

.was-validated .custom-check-input:invalid + .custom-check-box,
.custom-check-input.is-invalid + .custom-check-box {
  border-color: #a13c3c;
  box-shadow: 0 0 0 1px rgba(161, 60, 60, .2);
}

.custom-check .invalid-feedback {
  grid-column: 2;
  margin-top: -.15rem;
}

.was-validated .custom-check-input:invalid ~ .invalid-feedback,
.custom-check-input.is-invalid ~ .invalid-feedback {
  display: block;
}

.filter-check.custom-check {
  grid-template-columns: 22px auto 1fr auto;
  align-items: center;
  gap: .65rem;
  min-height: 38px;
}

.filter-check .custom-check-box {
  width: 20px;
  height: 20px;
}

.filter-check .custom-check-box .material-symbols-outlined {
  font-size: 15px;
}

.filter-color .color-dot {
  grid-column: auto;
  flex: 0 0 auto;
}

.filter-radio .custom-check-box {
  border-radius: 50%;
}

.filter-radio .custom-check-box .material-symbols-outlined {
  font-size: 10px;
  transform: scale(0);
}

.filter-radio .custom-check-input:checked + .custom-check-box .material-symbols-outlined {
  transform: scale(1);
}

.header-utilities {
  gap: .4rem;
}

.header-utilities > .dropdown {
  position: relative;
}

.header-utilities .language-menu[data-bs-popper] {
  right: 0;
  left: auto;
}

.header-utilities .btn-header-quote {
  white-space: nowrap;
}

.site-footer h2 {
  margin: .45rem 0 1.1rem;
  color: #fff;
  font-size: .875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-address {
  display: flex;
  gap: .45rem;
  color: rgba(255, 255, 255, .88);
}

.payment-labels {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.payment-labels span {
  padding: .42rem .55rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: .15rem;
  font-size: .72rem;
  font-weight: 800;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  margin: 0;
}

.storefront-product-card,
.storefront-category-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd5c9;
  border-radius: .25rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.storefront-product-card:hover,
.storefront-category-card:hover {
  transform: translateY(-5px);
  border-color: #c6a76e;
  box-shadow: 0 20px 42px rgba(35, 45, 39, .12);
}

.storefront-product-card .storefront-card-media {
  position: relative;
  display: block;
  height: 255px;
  min-height: 255px;
  overflow: hidden;
  background: var(--sand);
}

.storefront-product-card .storefront-card-media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.storefront-product-card .storefront-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-product-card .storefront-card-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .5rem;
  overflow: hidden;
  color: rgba(255, 255, 255, .92);
  background: linear-gradient(145deg, #a69275, #56685d);
}

.storefront-product-card .storefront-card-placeholder[hidden] {
  display: none;
}

.storefront-product-card .storefront-card-placeholder i {
  font-size: 3.2rem;
}

.storefront-card-badges {
  position: absolute;
  top: .8rem;
  left: .8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}

.storefront-card-badges .product-catalog-badge {
  position: static;
}

.storefront-card-badges .badge-popular {
  color: #fff;
  background: var(--green-700);
}

.storefront-card-category-icon {
  z-index: 2;
}

.storefront-card-wishlist {
  z-index: 3;
  min-width: 42px;
  min-height: 42px;
}

.storefront-product-card .storefront-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.storefront-product-card .storefront-card-eyebrow {
  margin-bottom: .3rem;
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.storefront-product-card .storefront-card-body h2 {
  margin-bottom: .9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.storefront-product-card .storefront-card-body h2 a,
.storefront-card-link {
  color: var(--ink);
}

.storefront-card-summary,
.storefront-card-specs li {
  overflow-wrap: anywhere;
}

.storefront-card-specs[hidden] {
  display: none;
}

.storefront-product-card .storefront-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ece6dc;
}

.storefront-price {
  min-width: 0;
  color: var(--green-900);
  font-weight: 800;
}

.storefront-price span,
.storefront-price strong,
.storefront-price del {
  display: block;
}

.storefront-price span {
  color: #707a75;
  font-size: .8125rem;
  font-weight: 400;
}

.storefront-price strong {
  font-size: 1.35rem;
  overflow-wrap: anywhere;
}

.storefront-price del {
  color: #777;
  font-size: .82rem;
}

.storefront-price[data-price-mode="sale"] {
  color: #a13c3c;
}

.storefront-price[data-price-mode="request"] {
  color: var(--muted);
  font-size: .95rem;
}

.storefront-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.storefront-card-actions .btn,
.storefront-card-wishlist {
  min-height: 42px;
}

.storefront-card-actions .btn {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.storefront-card-actions [hidden] {
  display: none;
}

.storefront-card-link {
  margin-top: auto;
  font-weight: 800;
}

.storefront-card-link i {
  margin-left: .35rem;
}

.wishlist-grid > *,
.pdp-related-grid > * {
  min-width: 0;
  height: 100%;
}

@media (max-width: 767.98px) {
  .storefront-product-card .storefront-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .storefront-card-actions {
    width: 100%;
    justify-content: stretch;
  }

  .storefront-card-actions .btn {
    flex: 1 1 calc(50% - .45rem);
  }
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }
}
