[data-so-gc-ready] .so-gc-row {
  display: block;
  min-width: 0;
  margin: 5px 0 6px;
  line-height: 1;
}
[data-so-gc-ready] button.so-gc-trigger {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 30px;
  margin: 0;
  padding: 6px 9px;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  background: #e9e2f0;
  color: #4e415d;
  font: 400 13px/1.45 halyard-text, Arial, sans-serif;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}
.so-gc-action { white-space: nowrap; }
.so-gc-more { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.so-gc-trigger:hover .so-gc-more, .so-gc-trigger:focus-visible .so-gc-more { text-decoration-thickness: 2px; }
[data-so-gc-ready] .so-gc-trigger:focus-visible,
.so-gc-panel :is(button, a):focus-visible { outline: 2px solid #52455f; outline-offset: 3px; }
[data-so-gc-ready] [data-so-gwp-option-note],
[data-so-gc-ready] [data-so-gc-replaced],
[data-so-gc-ready] [data-so-cart-review-qualifying] { display: none !important; }
.so-gc-badge {
  display: inline-block;
  width: fit-content;
  padding: 5px 8px;
  background: #62665d;
  color: #fff;
  font: 600 12px/1.4 halyard-text, Arial, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
}
[data-so-gc-photo] { position: relative; }
[data-so-gc-photo] > .so-gc-badge { position: absolute; top: 6px; left: 6px; z-index: 1; }
.so-gc-panel {
  position: fixed;
  z-index: 1055;
  box-sizing: border-box;
  width: min(350px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  padding: 20px 23px;
  border: 1px solid #babfb1;
  border-radius: 2px;
  background: #fff;
  color: #40443d;
  box-shadow: 0 10px 32px rgba(40, 43, 35, .19);
  text-align: left;
  font: 400 16px/1.5 halyard-text, Arial, sans-serif;
}
.so-gc-panel[hidden], .so-gc-panel [hidden] { display: none !important; }
.so-gc-panel::before {
  content: '';
  position: absolute;
  top: -7px;
  left: calc(var(--so-gc-tip, 30px) - 6px);
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-top: 1px solid #babfb1;
  border-left: 1px solid #babfb1;
  background: white;
}
.so-gc-panel[data-side="above"]::before { top: auto; bottom: -7px; transform: rotate(225deg); }
.so-gc-brand { margin: 0 36px 8px 0; color: #68705e; font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.so-gc-panel h2 { margin: 0 18px 12px 0; font: 400 27px/1.12 "Sassy Category Domaine", "Domaine Display", Georgia, serif; letter-spacing: -.025em; color: inherit; }
.so-gc-panel button.so-gc-close { position: absolute; right: 5px; top: 4px; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #596052; font: 400 25px/1 Arial, sans-serif; cursor: pointer; }
.so-gc-copy { max-height: max(3rem, calc(100vh - 175px)); max-height: max(3rem, calc(100dvh - 175px)); overflow-y: auto; overflow-wrap: anywhere; }
.so-gc-copy p { margin: 0; font: inherit; color: inherit; }
.so-gc-copy .so-gc-qualification { margin-bottom: 8px; font-weight: 650; font-size: 14px; }
.so-gc-terms + p { margin-top: 10px; }
.so-gc-panel a.so-gc-link { display: inline-block; margin-top: 13px; font-weight: 600; font-size: 14px; color: #40443d; text-decoration: underline; text-underline-offset: 3px; }
@media (pointer: coarse) { [data-so-gc-ready] button.so-gc-trigger { min-height: 44px; } .so-gc-panel button.so-gc-close { width: 44px; height: 44px; } }
@media (max-height: 270px) { .so-gc-panel { overflow-y: auto; } .so-gc-copy { max-height: none; } }

/* The card title can set an important font size on each of its descendants. */
@layer so-gift-card-label {
  [data-so-gc-ready] :is(.so-gc-trigger, .so-gc-action, .so-gc-more) {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

/* Keep the shared card's original gift badge out of its badge row when the
   active offer supplies the label. Other badges keep their normal styles. */
@layer sassyCardVisibility {
  [data-so-master-card][data-so-gc-ready] .so-cat-product__badges > [data-so-gc-replaced] {
    display: none !important;
  }
}
