/* HHF shared messages and remaining storefront components -------------- */

:root {
  --hhf-ui-ink: #18181a;
  --hhf-ui-gold: #a48d61;
  --hhf-ui-gold-light: #d1bd91;
  --hhf-ui-cream: #f4f1eb;
  --hhf-ui-stone: #e9e4da;
  --hhf-ui-line: #cfc7b9;
  --hhf-ui-muted: #817d75;
}

/* Live header cart */

.hhf2-header-actions > #_desktop_ps_shoppingcart,
.hhf2-cart-widget,
.hhf2-cart-widget .ps-shoppingcart,
.hhf2-cart-widget .hhf2-cart-live {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.hhf2-cart-widget .hhf2-cart-link {
  text-decoration: none;
}

.hhf2-cart-widget .hhf2-cart-count {
  pointer-events: none;
  animation: hhf-cart-count-in 220ms ease-out;
}

@keyframes hhf-cart-count-in {
  from {
    opacity: 0;
    transform: scale(.55);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Notifications */

#notifications .alert,
.hhf-cart .js-cart-update-alert .alert,
.toast-container .toast {
  position: relative;
  border-width: 1px;
  border-style: solid;
  border-radius: 0;
  box-shadow: none;
  color: var(--hhf-ui-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
}

#notifications .alert {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 17px 48px 17px 48px;
}

#notifications .alert::before,
.hhf-cart .js-cart-update-alert .alert::before {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 18px;
  height: 18px;
  border: 1px solid currentcolor;
  border-radius: 50%;
  content: "";
  opacity: .75;
  transform: translateY(-50%);
}

#notifications .alert::after,
.hhf-cart .js-cart-update-alert .alert::after {
  position: absolute;
  top: 50%;
  left: 23px;
  width: 7px;
  height: 4px;
  border-bottom: 1px solid currentcolor;
  border-left: 1px solid currentcolor;
  content: "";
  transform: translateY(-60%) rotate(-45deg);
}

#notifications .alert-success,
#notifications .alert-info,
.hhf-cart .js-cart-update-alert .alert-success,
.toast-container .toast.text-bg-success {
  border-color: #b9a77f;
  background: #e6e0d5;
  color: #4e493f;
}

#notifications .alert-warning,
.toast-container .toast.text-bg-warning {
  border-color: #b69a65;
  background: #eee4cf;
  color: #594c35;
}

#notifications .alert-danger,
.toast-container .toast.text-bg-danger {
  border-color: #a9776d;
  background: #eee0dc;
  color: #654139;
}

#notifications .alert-danger::after,
#notifications .alert-warning::after {
  left: 25px;
  width: auto;
  height: auto;
  border: 0;
  content: "!";
  font-size: 11px;
  line-height: 1;
  transform: translateY(-50%);
}

#notifications .alert-link,
.hhf-cart .js-cart-update-alert .alert-link {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#notifications .btn-close,
.hhf-cart .js-cart-update-alert .btn-close {
  top: 50%;
  right: 16px;
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 0;
  opacity: .55;
  transform: translateY(-50%);
}

/* Cart states */

.hhf-cart .js-cart-update-alert .alert {
  margin: 0 0 20px;
  padding: 16px 48px;
}

.hhf-cart .cart-grid:has(.cart__empty) .cart-grid__content {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.hhf-cart .cart-grid:has(.cart__empty) .cart-grid__aside {
  display: none;
}

.hhf-cart .cart-grid:has(.cart__empty) .cart__overview > hr:first-child {
  border-color: var(--hhf-cart-ink);
}

.hhf-cart .cart__empty {
  min-height: 140px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--hhf-cart-line);
  color: var(--hhf-cart-muted);
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 400;
}

/* Product sharing, reviews and reassurance */

/* The reassurance module writes its Back Office blue directly into the
   injected SVG. Recolor every icon primitive in HHF storefront contexts. */
.hhf-cart__reassurance .reassurance__image,
.hhf-checkout__reassurance .reassurance__image,
.hhf-product__reassurance .reassurance__image {
  color: #a48d61 !important;
}

.hhf-cart__reassurance .reassurance__image svg,
.hhf-checkout__reassurance .reassurance__image svg,
.hhf-product__reassurance .reassurance__image svg {
  color: inherit !important;
}

.hhf-cart__reassurance .reassurance__image svg [fill]:not([fill="none"]),
.hhf-checkout__reassurance .reassurance__image svg [fill]:not([fill="none"]),
.hhf-product__reassurance .reassurance__image svg [fill]:not([fill="none"]),
.hhf-cart__reassurance .reassurance__image svg path:not([fill]),
.hhf-checkout__reassurance .reassurance__image svg path:not([fill]),
.hhf-product__reassurance .reassurance__image svg path:not([fill]) {
  fill: currentcolor !important;
}

.hhf-cart__reassurance .reassurance__image svg [stroke]:not([stroke="none"]),
.hhf-checkout__reassurance .reassurance__image svg [stroke]:not([stroke="none"]),
.hhf-product__reassurance .reassurance__image svg [stroke]:not([stroke="none"]) {
  stroke: currentcolor !important;
}

.hhf-cart__reassurance .reassurance__image img:not(.svg),
.hhf-checkout__reassurance .reassurance__image img:not(.svg),
.hhf-product__reassurance .reassurance__image img:not(.svg) {
  filter: grayscale(1) sepia(.42) saturate(.75) brightness(.82);
}

.hhf-product .ps-sharebuttons,
.hhf-product .social-sharing {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--hhf-product-line);
}

.hhf-product .ps-sharebuttons__label,
.hhf-product .social-sharing > span {
  color: #625e56;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hhf-product .ps-sharebuttons__list,
.hhf-product .social-sharing ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hhf-product .ps-sharebuttons__link,
.hhf-product .social-sharing a {
  display: grid;
  width: 31px;
  height: 31px;
  border: 1px solid var(--hhf-product-line);
  border-radius: 50%;
  color: var(--hhf-product-ink);
  place-items: center;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.hhf-product .ps-sharebuttons__link:hover,
.hhf-product .ps-sharebuttons__link:focus-visible,
.hhf-product .social-sharing a:hover,
.hhf-product .social-sharing a:focus-visible {
  border-color: var(--hhf-product-ink);
  background: var(--hhf-product-ink);
  color: #d2bc8c;
}

.hhf-product .product-comments-additional-info .btn,
.hhf-product .product-comments-wrapper .btn-outline-primary {
  min-height: 43px;
  padding: 10px 18px;
  border: 1px solid #8d8578;
  border-radius: 0;
  background: transparent;
  color: var(--hhf-product-ink);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  box-shadow: none;
}

.hhf-product .product-comments-additional-info .btn:hover,
.hhf-product .product-comments-additional-info .btn:focus-visible,
.hhf-product .product-comments-wrapper .btn-outline-primary:hover,
.hhf-product .product-comments-wrapper .btn-outline-primary:focus-visible {
  border-color: var(--hhf-product-ink);
  background: var(--hhf-product-ink);
  color: #d2bc8c;
}

.hhf-product .product__additional-info > * {
  margin: 0;
}

/* Add-to-cart modal */

#blockcart-modal .modal-content,
.product-comment-modal .modal-content {
  overflow: hidden;
  border: 1px solid var(--hhf-ui-line);
  border-radius: 0;
  background: var(--hhf-ui-cream);
  color: var(--hhf-ui-ink);
  box-shadow: 0 24px 70px rgba(14, 14, 16, .22);
}

#blockcart-modal .modal-header,
.product-comment-modal .modal-header {
  padding: 22px 26px;
  border-color: var(--hhf-ui-line);
  background: var(--hhf-ui-stone);
}

#blockcart-modal .blockcart-modal__title,
.product-comment-modal .modal-title {
  color: var(--hhf-ui-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
}

#blockcart-modal .blockcart-modal__title-icon {
  color: var(--hhf-ui-gold);
}

#blockcart-modal .modal-body,
.product-comment-modal .modal-body {
  padding: 26px;
}

#blockcart-modal .modal-footer,
.product-comment-modal .modal-footer {
  padding: 18px 26px;
  border-color: var(--hhf-ui-line);
  background: transparent;
}

#blockcart-modal .btn,
.product-comment-modal .btn-primary,
.product-comment-modal .btn-outline-primary {
  min-height: 46px;
  border-radius: 0;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  box-shadow: none;
}

#blockcart-modal .btn-primary,
.product-comment-modal .btn-primary {
  border-color: var(--hhf-ui-ink);
  background: var(--hhf-ui-ink);
  color: var(--hhf-ui-gold-light);
}

#blockcart-modal .btn-outline-primary,
.product-comment-modal .btn-outline-primary {
  border-color: #8d8578;
  background: transparent;
  color: var(--hhf-ui-ink);
}

#blockcart-modal .btn:hover,
#blockcart-modal .btn:focus-visible,
.product-comment-modal .btn-primary:hover,
.product-comment-modal .btn-primary:focus-visible,
.product-comment-modal .btn-outline-primary:hover,
.product-comment-modal .btn-outline-primary:focus-visible {
  border-color: var(--hhf-ui-gold);
  background: var(--hhf-ui-gold);
  color: #fff;
}

.product-comment-modal .form-control {
  min-height: 48px;
  border: 1px solid var(--hhf-ui-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Guest order lookup */

body:has(.hhf-guest-tracking) {
  background: var(--hhf-ui-cream);
  color: var(--hhf-ui-ink);
  font-family: Inter, Arial, sans-serif;
}

body:has(.hhf-guest-tracking) .wrapper {
  min-height: 68vh;
  background: var(--hhf-ui-cream);
}

body:has(.hhf-guest-tracking) .columns-container {
  padding-top: clamp(42px, 6vw, 88px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.hhf-guest-tracking {
  max-width: 690px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 74px);
  border: 1px solid var(--hhf-ui-line);
  background: var(--hhf-ui-cream);
}

.hhf-guest-tracking__content {
  max-width: 520px;
  margin: 0 auto;
}

.hhf-guest-tracking__eyebrow {
  margin: 0 0 16px;
  color: #9b8b6d;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hhf-guest-tracking__title {
  margin: 0;
  color: var(--hhf-ui-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(46px, 5vw, 62px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
}

.hhf-guest-tracking__lead {
  margin: 15px 0 34px;
  color: var(--hhf-ui-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
}

.hhf-guest-tracking .mb-3 {
  margin-bottom: 22px !important;
}

.hhf-guest-tracking .form-label {
  margin-bottom: 8px;
  color: #46423c;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hhf-guest-tracking .form-label.required::after {
  color: var(--hhf-ui-gold);
}

.hhf-guest-tracking .form-control {
  min-height: 52px;
  border: 1px solid var(--hhf-ui-line);
  border-radius: 0;
  background: transparent;
  color: var(--hhf-ui-ink);
  font-size: 14px;
  font-weight: 300;
  box-shadow: none;
}

.hhf-guest-tracking .form-control:hover {
  border-color: #9e9587;
}

.hhf-guest-tracking .form-control:focus {
  border-color: var(--hhf-ui-gold);
  box-shadow: 0 0 0 2px rgba(164, 141, 97, .18);
}

.hhf-guest-tracking .form-text {
  color: #918b81;
  font-size: 10px;
}

.hhf-guest-tracking .buttons-wrapper {
  margin-top: 30px;
}

.hhf-guest-tracking .btn-primary {
  min-width: 170px;
  min-height: 50px;
  padding: 12px 25px;
  border: 1px solid var(--hhf-ui-ink);
  border-radius: 0;
  background: var(--hhf-ui-ink);
  color: var(--hhf-ui-gold-light);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: none;
}

.hhf-guest-tracking .btn-primary:hover,
.hhf-guest-tracking .btn-primary:focus-visible {
  border-color: var(--hhf-ui-gold);
  background: var(--hhf-ui-gold);
  color: #fff;
}

.hhf-guest-tracking .btn-primary .material-icons {
  font-size: 17px;
}

@media (max-width: 575.98px) {
  #notifications .alert {
    margin-top: 16px;
    margin-bottom: 16px;
  }

  body:has(.hhf-guest-tracking) .columns-container {
    padding: 0;
  }

  .hhf-guest-tracking {
    padding: 36px 24px 46px;
    border-right: 0;
    border-left: 0;
  }

  .hhf-guest-tracking__title {
    font-size: 43px;
  }

  .hhf-guest-tracking .btn-primary {
    width: 100%;
  }
}
