/*
 * Spruce and copper theme palette.
 *
 * Loaded after the Hummingbird and product-specific styles so the visual
 * system can be changed without modifying the compiled core theme.css.
 */

:root,
[data-bs-theme="light"] {
  --theme-spruce: #143d33;
  --theme-spruce-dark: #0f3028;
  --theme-spruce-mid: #205a48;
  --theme-spruce-soft: #eef4f1;
  --theme-spruce-surface: #fff;
  --theme-copper: #b57443;
  --theme-copper-dark: #945936;
  --theme-copper-light: #e5bea1;

  --bs-blue: var(--theme-spruce);
  --bs-green: var(--theme-spruce-mid);
  --bs-teal: #5b8c7a;
  --bs-primary: var(--theme-spruce);
  --bs-primary-rgb: 20, 61, 51;
  --bs-primary-text-emphasis: var(--theme-spruce-dark);
  --bs-primary-bg-subtle: var(--theme-spruce-soft);
  --bs-primary-border-subtle: #bfd0c8;
  --bs-success: var(--theme-spruce-mid);
  --bs-success-rgb: 32, 90, 72;
  --bs-info: #5b8c7a;
  --bs-info-rgb: 91, 140, 122;
  --bs-light: #f4f7f5;
  --bs-light-rgb: 244, 247, 245;
  --bs-dark: #0c251f;
  --bs-dark-rgb: 12, 37, 31;
  --bs-body-color: #17231f;
  --bs-body-color-rgb: 23, 35, 31;
  --bs-body-bg: var(--theme-spruce-surface);
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #0c251f;
  --bs-emphasis-color-rgb: 12, 37, 31;
  --bs-secondary-color: rgba(23, 35, 31, 0.72);
  --bs-secondary-bg: #dfe8e3;
  --bs-tertiary-color: rgba(23, 35, 31, 0.66);
  --bs-tertiary-bg: var(--theme-spruce-soft);
  --bs-heading-color: #102a23;
  --bs-link-color: var(--theme-spruce);
  --bs-link-color-rgb: 20, 61, 51;
  --bs-link-hover-color: var(--theme-spruce-dark);
  --bs-link-hover-color-rgb: 15, 48, 40;
  --bs-border-color: #d8e2dd;
  --bs-border-color-translucent: rgba(20, 61, 51, 0.15);
  --bs-focus-ring-color: rgba(181, 116, 67, 0.28);
  --header-top-color: #ffffff;
  --header-top-color-hover: var(--theme-copper-light);
}

::selection {
  background: rgba(181, 116, 67, 0.3);
  color: #0c251f;
}

/* Header */
html {
  --scroll-padding-top: 0px !important;
  scroll-padding-top: 0 !important;
  min-height: 100%;
}

/* Keep short pages stretched to the viewport so the footer sits at the bottom. */
html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#wrapper {
  flex: 1 0 auto;
  width: 100%;
}

#footer {
  flex: 0 0 auto;
}

#header.header,
.header.js-sticky-header,
.header {
  position: static !important;
  top: auto !important;
}

.header-top {
  border-bottom: 3px solid var(--theme-copper) !important;
  background: var(--theme-spruce);
  color: #fff;
}

.header-top__custom-html-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: #fff;
  text-align: center;
}

.header-top__custom-html-box > * {
  margin-block: 0;
  max-width: 100%;
}

.header-top__custom-html-box a,
.header-top__custom-html-box a:hover,
.header-top__custom-html-box a:focus-visible {
  color: #fff;
}

.header-top .ps-contactinfo,
.header-top .ps-contactinfo a,
.header-top .ps-contactinfo__phone,
.header-top .ps-contactinfo__email {
  color: #fff !important;
}

.header-top .ps-contactinfo a:hover,
.header-top .ps-contactinfo a:focus-visible,
.header-top .ps-contactinfo__phone:hover,
.header-top .ps-contactinfo__phone:focus-visible,
.header-top .ps-contactinfo__email:hover,
.header-top .ps-contactinfo__email:focus-visible {
  color: var(--theme-copper-light) !important;
}

.header-top .header-block__action-btn,
.header-top .dropdown-toggle,
.header-top .material-icons,
.header-top .form-select {
  color: #fff;
}

.header-top .header-block__action-btn[href]:hover,
.header-top .header-block__action-btn[href]:focus-visible,
.header-top .dropdown-toggle:hover,
.header-top .dropdown-toggle:focus-visible {
  color: var(--theme-copper-light);
}

.header-top .form-select {
  background-color: transparent;
}

.header-top .form-select option {
  background: #fff;
  color: var(--bs-body-color);
}

.header-top .header-block__badge {
  background: var(--theme-copper);
  color: #fff;
}

.header-bottom {
  border-bottom: 3px solid var(--theme-spruce);
  background: #fff;
}

.header-bottom .header-block__action-btn {
  color: var(--theme-spruce-dark);
}

.header-bottom .header-block__action-btn[href]:hover,
.header-bottom .header-block__action-btn[href]:focus-visible {
  color: var(--theme-spruce-mid);
}

.header-bottom .header-block__badge {
  background: var(--theme-copper);
  color: #fff;
}

.ps-searchbar__input {
  border-color: #cbd7d1;
  background: #fff;
}

.ps-searchbar__input:hover {
  border-color: #9fb5aa;
}

.ps-searchbar__input:focus {
  border-color: var(--theme-spruce-mid);
  box-shadow: 0 0 0 0.2rem rgba(181, 116, 67, 0.2);
}

.ps-searchbar__magnifier,
.ps-searchbar__clear {
  color: var(--theme-spruce-dark);
}

.ps-searchbar__dropdown {
  border-color: #bfd0c8;
}

/* Breadcrumb */
.breadcrumb__wrapper {
  border-bottom: 1px solid #d6e1dc;
  background: var(--theme-spruce-surface);
}

.breadcrumb-link,
.breadcrumb-item a {
  color: var(--theme-spruce-mid);
  font-weight: 600;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus-visible,
.breadcrumb-item a:hover,
.breadcrumb-item a:focus-visible {
  color: var(--theme-spruce-dark);
}

/* Global controls and interactive states */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--theme-spruce);
  --bs-btn-border-color: var(--theme-spruce);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--theme-spruce-dark);
  --bs-btn-hover-border-color: var(--theme-spruce-dark);
  --bs-btn-focus-shadow-rgb: 181, 116, 67;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--theme-spruce-dark);
  --bs-btn-active-border-color: var(--theme-spruce-dark);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--theme-spruce);
  --bs-btn-disabled-border-color: var(--theme-spruce);
}

.btn-outline-primary {
  --bs-btn-color: var(--theme-spruce);
  --bs-btn-border-color: var(--theme-spruce);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--theme-spruce);
  --bs-btn-hover-border-color: var(--theme-spruce);
  --bs-btn-focus-shadow-rgb: 181, 116, 67;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--theme-spruce-dark);
  --bs-btn-active-border-color: var(--theme-spruce-dark);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--theme-spruce-mid);
  box-shadow: 0 0 0 0.2rem rgba(181, 116, 67, 0.2);
}

.form-check-input:checked {
  border-color: var(--theme-spruce);
  background-color: var(--theme-spruce);
}

.form-check-input:focus {
  border-color: var(--theme-spruce-mid);
  box-shadow: 0 0 0 0.2rem rgba(181, 116, 67, 0.2);
}

.pagination {
  --bs-pagination-color: var(--theme-spruce);
  --bs-pagination-hover-color: var(--theme-spruce-dark);
  --bs-pagination-focus-color: var(--theme-spruce-dark);
  --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(181, 116, 67, 0.2);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--theme-spruce);
  --bs-pagination-active-border-color: var(--theme-spruce);
}

/* Keep active page numbers readable across product listings and comments. */
.pagination .page-item.active > .page-link {
  color: #fff !important;
}

/* Subtle feedback for every interactive storefront pagination control. */
.pagination .page-link {
  transition: background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.pagination .page-item:not(.active):not(.disabled) > .page-link:not([aria-disabled="true"]):not(:disabled):hover {
  background-color: rgba(20, 61, 51, 0.055);
  box-shadow: inset 0 -1px 0 rgba(20, 61, 51, 0.12);
  color: var(--theme-spruce-dark);
}

.dropdown-menu {
  --bs-dropdown-link-hover-bg: var(--theme-spruce-soft);
  --bs-dropdown-link-active-bg: var(--theme-spruce);
}

/* Keep the product-list sort menu exactly as wide as its trigger button. */
#products .products__sort-dropdown {
  position: relative;
}

#products .products__sort-dropdown > .dropdown-menu {
  width: 100%;
  min-width: 100%;
}

.nav-pills {
  --bs-nav-pills-link-active-bg: var(--theme-spruce);
}

/* Category pills page horizontally when needed; mobile uses two rows. */
.subcategory__pagination,
.subcategory__pages,
.subcategory__page-nav {
  display: none;
}

/* The horizontal pill track must never expand the category page itself. */
.page-category .subcategory,
.page-category .subcategory__list:not(.subcategory__list--with-images),
.page-category .subcategory__pagination {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.page-category .subcategory {
  margin-bottom: 1rem;
}

/* Keep the category links visually identical across mobile and desktop. */
.page-category .subcategory__list:not(.subcategory__list--with-images) .subcategory__link {
  position: relative;
  z-index: 0;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #d8e2dd;
  border-radius: 999px;
  background: #fff;
  color: var(--theme-spruce-dark);
  cursor: pointer;
  line-height: 1.3;
  pointer-events: auto;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-category .subcategory__list:not(.subcategory__list--with-images) .subcategory__link:hover,
.page-category .subcategory__list:not(.subcategory__list--with-images) .subcategory__link:focus-visible {
  border-color: var(--theme-spruce);
  background: var(--theme-spruce-soft);
  color: var(--theme-spruce-dark);
}

.page-category .subcategory__list:not(.subcategory__list--with-images) .subcategory__link:focus-visible {
  outline: 2px solid var(--theme-copper);
  outline-offset: 3px;
}

.page-category .subcategory__page {
  width: 0.42rem;
  height: 0.42rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c7d6d0;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.page-category .subcategory__page.is-active {
  width: 1.1rem;
  border-radius: 999px;
  background: var(--theme-spruce);
}

.page-category .subcategory__page:focus-visible {
  outline: 2px solid var(--theme-copper);
  outline-offset: 3px;
}

/* Related-product modules can contain arbitrary product names. Keep an
 * exceptional name inside the product page instead of widening the document. */
.page-product {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.page-product .products,
.page-product .product-miniature,
.page-product .product-miniature__title,
.page-product .product-miniature__title a {
  min-width: 0;
  max-width: 100%;
}

.page-product .product-miniature__title,
.page-product .product-miniature__title a {
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .page-category .subcategory__list:not(.subcategory__list--with-images) {
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, max-content);
    gap: 0.55rem 0.6rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.2rem 0.1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .page-category .subcategory__list:not(.subcategory__list--with-images)::-webkit-scrollbar {
    display: none;
  }

  .page-category .subcategory__list:not(.subcategory__list--with-images) > * {
    grid-row: auto;
    scroll-snap-align: start;
  }

  .page-category .subcategory__list:not(.subcategory__list--with-images) .subcategory__link { white-space: nowrap; }

  .page-category .subcategory--has-overflow .subcategory__pagination {
    display: block;
    margin-top: 0.7rem;
  }

  .page-category .subcategory--has-overflow .subcategory__pages {
    display: flex;
    justify-content: center;
    gap: 0.38rem;
  }

}

@media (min-width: 768px) {
  .page-category .subcategory__list:not(.subcategory__list--with-images) {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.2rem 0.1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
  }

  .page-category .subcategory__list:not(.subcategory__list--with-images)::-webkit-scrollbar {
    display: none;
  }

  .page-category .subcategory__list:not(.subcategory__list--with-images) > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .page-category .subcategory__list:not(.subcategory__list--with-images) .subcategory__link {
    white-space: nowrap;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
  }

  .page-category .subcategory__list:not(.subcategory__list--with-images).is-dragging,
  .page-category .subcategory__list:not(.subcategory__list--with-images).is-dragging .subcategory__link {
    cursor: grabbing;
  }

  .page-category .subcategory__list:not(.subcategory__list--with-images).is-dragging {
    scroll-snap-type: none;
  }

  .page-category .subcategory--has-overflow .subcategory__pagination {
    display: block;
    margin-top: 0.7rem;
  }

  .page-category .subcategory--has-overflow .subcategory__pages {
    display: flex;
    justify-content: center;
    gap: 0.38rem;
  }
}

.list-group {
  --bs-list-group-active-bg: var(--theme-spruce);
  --bs-list-group-active-border-color: var(--theme-spruce);
}

.product__availability-status.text-warning,
.product__availability-status.text-warning * {
  color: var(--theme-copper-dark) !important;
}

.accordion {
  --bs-accordion-btn-focus-border-color: var(--theme-spruce-mid);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(181, 116, 67, 0.2);
  --bs-accordion-active-color: var(--theme-spruce-dark);
  --bs-accordion-active-bg: var(--theme-spruce-soft);
}

/* Product description palette alignment */
.dtp-product {
  --dtp-accent: var(--theme-spruce);
  --dtp-accent-dark: var(--theme-spruce-dark);
  --dtp-accent-mid: var(--theme-spruce-mid);
  --dtp-accent-light: #5b8c7a;
  --dtp-accent-soft: var(--theme-spruce-soft);
  --dtp-accent-softer: #f7faf8;
  --dtp-border: #d8e2dd;
  --dtp-border-strong: #bfd0c8;
}

.dtp-spec-group > h3 {
  background: var(--theme-spruce);
}

/* Footer */
#footer {
  border-top: 3px solid var(--theme-copper);
  background: #0e3627;
}

#footer .footer__before {
  color: var(--bs-body-color);
  padding-block-start: 0;
}

#footer .ps-emailsubscription,
#footer .bg-body-tertiary {
  background-color: var(--theme-spruce-soft) !important;
}

#footer .footer__main {
  background: #0e3627;
  color: #dce8e2;
  padding-block-start: 0;
}

#footer .footer__main-top {
  align-items: flex-start;
}

@media (min-width: 992px) {
  #footer .footer__main-links > .row > .footer-block {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

#footer .ps-contactinfo__service,
#footer .ps-contactinfo__link,
#footer .ps-contactinfo__details,
#footer .ps-contactinfo__free-shipping {
  margin-block-end: 1rem;
}

#footer .ps-contactinfo__email,
#footer .ps-contactinfo__phone {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-block-end: 1rem;
}

#footer .ps-contactinfo__email i,
#footer .ps-contactinfo__phone i {
  flex: 0 0 auto;
  color: var(--theme-copper-light);
}

#footer .ps-contactinfo__service a,
#footer .ps-contactinfo__link a,
#footer .ps-contactinfo__email a,
#footer .ps-contactinfo__phone a {
  color: #dce8e2;
}

#footer .ps-contactinfo__service a:hover,
#footer .ps-contactinfo__service a:focus-visible,
#footer .ps-contactinfo__link a:hover,
#footer .ps-contactinfo__link a:focus-visible,
#footer .ps-contactinfo__email a:hover,
#footer .ps-contactinfo__email a:focus-visible,
#footer .ps-contactinfo__phone a:hover,
#footer .ps-contactinfo__phone a:focus-visible {
  color: var(--theme-copper-light);
}

#footer .ps-contactinfo__details,
#footer .ps-contactinfo__free-shipping {
  color: #dce8e2;
}

#footer .footer-payment-media {
  padding-block-start: 0.25rem;
  color: #dce8e2;
}

#footer .footer-payment-media__title {
  margin-block-end: 1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

#footer .footer-payment-media__logos {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 162px;
}

#footer .footer-payment-media__domestic {
  display: block;
  margin-block-start: 2rem;
}

#footer .footer-payment-media__domestic img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

/* Footer link columns are permanently expanded, including on mobile. */
#footer .footer-block__title--toggle > button {
  display: none !important;
}

#footer .footer-block__content.collapse,
#footer .footer-block__content.collapsing {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  visibility: visible !important;
}

/* Checkout summary sections are permanently expanded. */
.checkout-steps {
  margin-block-end: 1.5rem;
}

@media (min-width: 768px) {
  .checkout-steps {
    padding-block: 1rem;
  }
}

.checkout__summary-accordion .checkout__summary-title,
.cart-summary__products-title,
.cart-voucher__title {
  display: block;
  font-weight: 600;
  padding-block: 0.75rem;
}

.checkout__summary-accordion-wrapper > .accordion-collapse,
.cart-summary__products-collapse,
.cart-voucher__accordion-collapse {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  visibility: visible !important;
}

/* Payment methods are presented as clear, full-width selection cards. */
#checkout-payment-step .payment-options__list {
  gap: 1rem;
}

#checkout-payment-step .payment-option {
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  background: #fff;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

#checkout-payment-step .payment-option:hover {
  border-color: #9eb5aa;
}

#checkout-payment-step .payment-option:has(.payment-option__input:checked) {
  border-color: var(--theme-spruce);
  background: var(--theme-spruce-surface);
  box-shadow: 0 0 0 1px rgba(20, 61, 51, 0.14);
}

#checkout-payment-step .payment-option:has(.payment-option__input:focus-visible) {
  outline: 0.1875rem solid var(--bs-focus-ring-color);
  outline-offset: 0.125rem;
}

#checkout-payment-step .payment-option__form-check {
  min-height: 5.25rem;
  margin: 0;
  padding: 0;
}

#checkout-payment-step .payment-option__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  white-space: nowrap;
}

#checkout-payment-step .payment-option__label {
  display: flex;
  width: 100%;
  min-height: 5.25rem;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  color: var(--bs-body-color);
  cursor: pointer;
  font-weight: 500;
}

#checkout-payment-step .payment-option__label img {
  width: auto;
  max-width: 8.5rem;
  height: auto;
  max-height: 3rem;
  flex: 0 0 auto;
  object-fit: contain;
}

#checkout-payment-step .payment-option__additional-information {
  padding-inline: 1.5rem;
  padding-block-end: 1.25rem;
}

@media (max-width: 575.98px) {
  #checkout-payment-step .payment-options__list {
    gap: 0.75rem;
  }

  #checkout-payment-step .payment-option__form-check,
  #checkout-payment-step .payment-option__label {
    min-height: 4.75rem;
  }

  #checkout-payment-step .payment-option__label {
    gap: 1rem;
    padding: 0.875rem 1rem;
  }

  #checkout-payment-step .payment-option__label img {
    max-width: 7rem;
    max-height: 2.5rem;
  }

  #checkout-payment-step .payment-option__additional-information {
    padding-inline: 1rem;
    padding-block-end: 1rem;
  }
}

/* Keep the payment confirmation group on the right when the terms notice is present. */
#payment-confirmation .ps-shown-by-js {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

#payment-confirmation .payment-confirmation__terms-notice {
  margin-block: 0.75rem 0;
  text-align: end;
}

@media (max-width: 767.98px) {
  #payment-confirmation .payment-confirmation__terms-notice {
    font-size: clamp(0.6875rem, 3.2vw, 0.75rem);
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  /* The confirmation notice makes the right column taller; do not stretch the back button with it. */
  .buttons-wrapper.buttons-wrapper--split {
    align-items: flex-start;
  }
}

/* Info banners use the site's spruce palette instead of Bootstrap blue. */
.alert.alert-info {
  --bs-alert-color: var(--theme-spruce-dark);
  --bs-alert-bg: var(--theme-spruce-soft);
  --bs-alert-border-color: var(--theme-spruce);
}

.alert.alert-info .alert-link {
  color: var(--theme-spruce-dark);
}

/* Block-cart actions: cart and checkout remain together, while shopping continues separately. */
.blockcart-modal .modal-footer--blockcart-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blockcart-modal .modal-footer--blockcart-actions > .btn {
  margin: 0;
  width: 100%;
}

.blockcart-modal .blockcart-modal__view-cart {
  order: 1;
}

.blockcart-modal .blockcart-modal__checkout {
  order: 2;
}

.blockcart-modal .blockcart-modal__continue {
  --bs-btn-color: var(--theme-spruce);
  --bs-btn-hover-color: var(--theme-spruce-dark);
  order: 3;
  border-color: transparent !important;
  background-color: transparent;
  color: var(--theme-spruce) !important;
  box-shadow: none;
}

.blockcart-modal .blockcart-modal__continue:hover,
.blockcart-modal .blockcart-modal__continue:focus,
.blockcart-modal .blockcart-modal__continue:focus-visible {
  border-color: transparent !important;
  background-color: transparent;
  color: var(--theme-spruce-dark) !important;
  box-shadow: none;
}

.blockcart-modal .blockcart-modal__cart-footer-extra {
  order: 4;
}

@media (min-width: 576px) {
  .blockcart-modal .modal-footer--blockcart-actions {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    justify-content: normal;
  }

  .blockcart-modal .modal-footer--blockcart-actions > .btn {
    width: auto;
  }

  .blockcart-modal .blockcart-modal__continue {
    justify-self: start;
    order: 1;
  }

  .blockcart-modal .blockcart-modal__view-cart {
    justify-self: center;
    order: 2;
  }

  .blockcart-modal .blockcart-modal__checkout {
    justify-self: end;
    order: 3;
  }

  .blockcart-modal .blockcart-modal__cart-footer-extra {
    grid-column: 1 / -1;
  }
}

/* Contact page sidebar information. */
body#contact .contact-sidebar-info {
  margin-block-start: 0.5rem;
  color: var(--bs-body-color);
}

body#contact .contact-sidebar-info p {
  margin-block-end: 1.25rem;
}

body#contact .contact-sidebar-info__intro {
  margin-block-start: 0;
}

body#contact .contact-sidebar-info__company {
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--bs-border-color);
}

body#contact .contact-sidebar-info__hours {
  max-width: 28ch;
}

body#contact .contact-sidebar-info a {
  color: var(--theme-spruce-mid);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

body#contact .contact-sidebar-info a:hover,
body#contact .contact-sidebar-info a:focus-visible {
  color: var(--theme-copper-dark);
}

.contact-form__bot-check [data-contact-bot-question] {
  font-weight: 600;
}

.contact-form__bot-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-form__bot-check [data-contact-bot-error] {
  display: none;
}

.contact-form__bot-check [data-contact-bot-error][data-contact-bot-error-visible] {
  display: block;
}

/* Keep the guest checkout name fields compact without removing validation. */
#checkout-guest-form input[name="firstname"] + .form-text,
#checkout-guest-form input[name="lastname"] + .form-text {
  display: none;
}

/* Hide only the generated "Valinnainen" label in checkout address forms. */
#checkout .js-address-form .checkout-address-optional-label {
  display: none;
}

/* Reassurance icons are intentionally smaller while keeping their text aligned. */
.blockreassurance .reassurance {
  gap: 0.75rem;
}

.blockreassurance .reassurance__image,
.blockreassurance--horizontal .reassurance__image {
  flex: 0 0 2rem;
  height: 2rem;
  width: 2rem;
}

.blockreassurance .reassurance__image > img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.footer__mobile-banner {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.footer__mobile-banner .mobiili-vain {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

#footer .footer-block__title,
#footer .footer-block__title a {
  color: #fff;
}

#footer .footer-block a,
#footer .copyright a {
  color: #dce8e2;
}

#footer .footer-block a:hover,
#footer .footer-block a:focus-visible,
#footer .copyright a:hover,
#footer .copyright a:focus-visible {
  color: var(--theme-copper-light);
}

#footer .footer__main-bottom {
  border-top-color: rgba(229, 190, 161, 0.28);
}

#footer .ps-socialfollow a {
  color: var(--theme-spruce);
}

#footer .ps-socialfollow a:hover,
#footer .ps-socialfollow a:focus-visible {
  color: var(--theme-copper-dark);
}

@media (max-width: 767.98px) {
  #footer {
    border-top: 0;
  }

  .header-bottom {
    border-bottom-color: var(--theme-spruce);
  }

  .header-bottom .header-block__action-btn:focus-visible {
    outline: 2px solid var(--theme-copper);
    outline-offset: 2px;
  }
}

@media (min-width: 768px) {
  #footer .footer__main {
    padding-block-start: 2rem;
  }

  .footer__mobile-banner {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  #footer .footer-payment-media {
    margin-block-start: 1rem;
    padding-block-start: 1rem;
  }

  #footer .footer-payment-media__logos {
    width: 100%;
    max-width: 594px;
  }
}

@media (forced-colors: active) {
  .header-top,
  .header-bottom,
  #footer {
    border-color: CanvasText;
  }
}

/* Product brand and price share their two text rows. */
#product .product__brand-price {
  display: flex;
  width: 100%;
  gap: 1.25rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-block-end: 0;
}

#product .product__brand-price .product__prices-block {
  min-width: 0;
}

#product .product__brand-price .product__manufacturer {
  margin-inline-start: auto;
  margin-block-end: 0;
}

#product .product__manufacturer-link {
  display: flex;
  align-items: center;
}

/* The logo takes the former logo-and-name height as one visual block. */
#product .product__manufacturer-logo {
  display: flex;
  align-items: center;
  width: 12rem;
  height: 4.8rem;
}

#product .product__manufacturer-logo-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 4.8rem;
  max-height: 4.8rem;
  object-fit: contain;
  object-position: left center;
}

#product .product__brand-price--without-manufacturer {
  display: block;
  margin-block-end: 0;
}

@media (max-width: 575.98px) {
  #product .product__brand-price {
    gap: 0.75rem;
  }

  #product .product__manufacturer-logo {
    width: 9rem;
  }
}

.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__right-items .menu-item__group--child .menu-item {
    align-items: center;
    display: flex;
    gap: .25rem;
    padding-bottom: 0.4rem;
}
