/* Empty wishlist consumer. Shared header grid, native cards and business controls remain owners. */
#guest-favorites.gf-wishlist { box-sizing: border-box; width: min(calc(100% - 2 * var(--im-site-gutter, 32px)), var(--im-site-content-max, 1598px)); max-width: none; margin: 0 auto; padding: 40px 0 120px; color: #433228; font: 500 16px/1.5 Montserrat, Arial, sans-serif; }
#guest-favorites [hidden] { display: none !important; }
#guest-favorites .gf-wishlist__breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; color: #897059; font-size: 14px; }
#guest-favorites .gf-wishlist__breadcrumbs a { color: inherit; text-decoration: none; }
#guest-favorites h1 { margin: 0 0 32px; font: 800 40px/1.2 Montserrat, Arial, sans-serif; text-transform: uppercase; }
#guest-favorites .gf-empty { display: flex; flex-direction: column; align-items: center; gap: 24px; box-sizing: border-box; padding: 80px 40px; border-radius: 20px; background: #fff; text-align: center; }
#guest-favorites .gf-empty__illustration { display: grid; place-items: center; flex: none; width: 140px; height: 140px; border-radius: 50%; background: #fbe9c4; }
#guest-favorites .gf-empty__illustration picture, #guest-favorites .gf-empty__illustration img { display: block; }
#guest-favorites .gf-empty__illustration img { width: 56px; height: 56px; max-width: none; }
#guest-favorites .gf-empty h2 { margin: 0; font: 800 30px/1.25 Montserrat, Arial, sans-serif; text-transform: uppercase; overflow-wrap: anywhere; }
#guest-favorites .gf-empty__description { max-width: 720px; margin: 0; color: #6b5745; font: 500 17px/1.55 Montserrat, Arial, sans-serif; }
#guest-favorites .gf-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 8px; }
#guest-favorites .gf-empty__action { appearance: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 60px; padding: 14px 40px; border: 2px solid transparent; border-radius: 999px; font: 600 20px/1.2 Montserrat, Arial, sans-serif; text-decoration: none; text-align: center; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease; }
#guest-favorites .gf-empty__action--primary { color: #fff; background: #dc1f26; }
#guest-favorites .gf-empty__action--outline { color: #433228; border-color: #433228; background: transparent; }
#guest-favorites .gf-recommendations { margin-top: 80px; }
#guest-favorites .gf-recommendations__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
#guest-favorites .gf-recommendations h2 { margin: 0; font: 800 30px/1.25 Montserrat, Arial, sans-serif; text-transform: uppercase; }
#guest-favorites .gf-recommendations__controls { display: flex; flex: none; gap: 10px; }
#guest-favorites .gf-recommendations__controls button { appearance: none; display: grid; place-items: center; box-sizing: border-box; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 50%; color: #fff; background: #433228; cursor: pointer; transition: background-color 220ms ease, opacity 220ms ease; -webkit-tap-highlight-color: transparent; }
#guest-favorites .gf-recommendations__controls button:disabled { opacity: .4; cursor: default; }
#guest-favorites .gf-recommendations__controls img { width: 24px; height: 24px; max-width: none; }
/* Rail geometry reused from the paused SET recommendations, with the current shared card. */
#guest-favorites .gf-recommendations { --related-gap: 40px; --related-columns: 5; }
#guest-favorites .product-related-slider__viewport { overflow: visible; min-width: 0; }
#guest-favorites .gf-recommendations .product-grid { display: grid; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: calc((100% - (var(--related-columns) - 1) * var(--related-gap)) / var(--related-columns)); gap: var(--related-gap) !important; width: 100%; max-width: 100%; margin: 0; box-sizing: border-box; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0; padding: 4px 0 8px; -webkit-overflow-scrolling: touch; }
#guest-favorites .gf-recommendations .product-grid::-webkit-scrollbar { display: none; }
#guest-favorites .gf-recommendations .product-card { width: 100%; min-width: 0; scroll-snap-align: start; }
#guest-favorites .gf-recommendations__controls[hidden] { display: none; }
@media (min-width: 801px) and (max-width: 1024px) {
  #guest-favorites .gf-recommendations { --related-gap: 41px; --related-columns: 3; }
}
@media (max-width: 1024px) {
  #guest-favorites .product-related-slider__viewport { width: var(--related-viewport,100%); margin-left: calc(-1 * var(--related-inset,0px)); }
  #guest-favorites .gf-recommendations .product-grid { max-width: none; padding-inline: var(--related-inset,0px) var(--related-end,0px); scroll-padding-left: var(--related-inset,0px); grid-auto-columns: var(--related-card-width,192px); }
}
@media (max-width: 800px) {
  #guest-favorites .gf-recommendations { --related-gap: 16px; }
  #guest-favorites .gf-recommendations__controls { display: none; }
  #guest-favorites .gf-recommendations .product-card__actions { gap: 8px; }
  #guest-favorites .gf-recommendations :is(.product-card__buy, .product-card__detail) { flex: 1; min-width: 0; }
  #guest-favorites .gf-recommendations :is(a.js-related-add, a.js-related-detail) { box-sizing: border-box; padding-inline: 4px; font-size: 12px; }
  #guest-favorites .gf-recommendations .related-qty.quantity-control { flex-wrap: wrap; height: auto; min-height: 64px; max-height: none; padding-inline: 4px; gap: 2px; }
  #guest-favorites .gf-recommendations .related-qty span { flex-basis: 100%; justify-content: center; margin: 0; }
}
#guest-favorites .gf-storage-notice { position: fixed; z-index: 1500; left: 16px; right: 16px; bottom: calc(var(--sh-bottom-space, 57px) + 12px); display: flex; align-items: center; gap: 12px; box-sizing: border-box; padding: 12px 12px 12px 16px; border-radius: 12px; color: #433228; background: #fff; box-shadow: 0 6px 24px rgb(67 50 40 / 18%); font: 500 13px/1.5 Montserrat, Arial, sans-serif; }
#guest-favorites .gf-storage-notice span { flex: 1; min-width: 0; }
#guest-favorites .gf-storage-notice button { appearance: none; display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: #433228; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#guest-favorites .gf-storage-notice img { display: block; width: 24px; height: 24px; }
#guest-favorites :is(a, button, [tabindex]):focus { outline: none; }
#guest-favorites :is(a, button, [tabindex]):focus-visible { outline: 2px solid #faa61a; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  #guest-favorites .gf-empty__action--primary:hover { background: #ba1b1e; }
  #guest-favorites .gf-empty__action--outline:hover { color: #fff; background: #433228; }
  #guest-favorites .gf-recommendations__controls button:not(:disabled):hover { background: #faa61a; }
  #guest-favorites .gf-storage-notice button:hover { background: #fff1e6; }
  #guest-favorites .gf-wishlist__breadcrumbs a:hover { color: #433228; }
}
@media (max-width: 1199px) {
  #guest-favorites .gf-empty { padding: 64px 40px; gap: 22px; }
  #guest-favorites .gf-empty__illustration { width: 120px; height: 120px; }
  #guest-favorites .gf-empty__illustration img { width: 48px; height: 48px; }
  #guest-favorites .gf-empty h2 { font-size: 26px; }
  #guest-favorites .gf-empty__description { max-width: 600px; font-size: 16px; }
}
@media (max-width: 1000px) {
  #guest-favorites.gf-wishlist { width: calc(100% - 32px); padding-top: 28px; padding-bottom: 64px; }
  #guest-favorites h1 { font-size: 32px; }
}
@media (max-width: 639px) {
  #guest-favorites.gf-wishlist { padding-top: 20px; padding-bottom: 48px; }
  #guest-favorites .gf-wishlist__breadcrumbs { font-size: 12px; margin-bottom: 24px; }
  #guest-favorites h1 { margin-bottom: 24px; font-size: 28px; }
  #guest-favorites .gf-empty { padding: 40px 24px 36px; gap: 18px; border-radius: 16px; }
  #guest-favorites .gf-empty__illustration { width: 96px; height: 96px; }
  #guest-favorites .gf-empty__illustration img { width: 40px; height: 40px; }
  #guest-favorites .gf-empty h2 { font-size: 20px; }
  #guest-favorites .gf-empty__description { font-size: 14px; }
  #guest-favorites .gf-empty__storage { display: none; }
  #guest-favorites .gf-empty__actions { flex-direction: column; align-self: stretch; gap: 18px; padding-top: 0; }
  #guest-favorites .gf-empty__action { width: 100%; padding-inline: 16px; font-size: 20px; }
  #guest-favorites .gf-empty__action--outline { height: 50px; min-height: 50px; padding-block: 10px; font-size: 18px; font-weight: 700; }
  #guest-favorites .gf-recommendations { margin-top: 40px; }
  #guest-favorites .gf-recommendations__head { margin-bottom: 24px; }
  #guest-favorites .gf-recommendations h2 { font-size: 24px; }
  #guest-favorites .gf-recommendations__controls { display: none; }

}
@media (prefers-reduced-motion: reduce) { #guest-favorites :is(.gf-empty__action, .gf-recommendations__controls button) { transition: none; } }

/* USER QA correction: fixed-width192px rail cards must not retain native
  125/133px anchors inside their narrower flex children between480 and639px.
   Same explicit two-slot geometry as archived SET, using current native DOM. */
@media (max-width: 800px) {
  #guest-favorites .gf-recommendations .product-card__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 64px;
  }
  #guest-favorites .gf-recommendations .product-card__actions > :is(.product-card__buy, .product-card__detail) {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    min-height: 64px;
    margin: 0;
    align-items: center;
    flex: none !important;
  }
  #guest-favorites .gf-recommendations .product-card__actions :is(a.js-related-add, a.js-related-detail) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding-inline: 4px !important;
    font-size: 12px;
    text-align: center;
  }
  #guest-favorites .gf-recommendations .product-card__actions.is-qty:not(.is-qty-revealing) { grid-template-columns: minmax(0, 1fr); }
  #guest-favorites .gf-recommendations .product-card__actions.is-qty:not(.is-qty-revealing) > .product-card__detail { display: none !important; }
  #guest-favorites .gf-recommendations .related-qty.quantity-control {
    box-sizing: border-box;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin: 0 !important;
  }
}
