.gift-recommendations-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #0a0a0a;
  background-size: 100% 48px;
}

.gift-finder {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0 80px;
}

.gift-finder-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid #292929;
}

.gift-finder-kicker {
  margin: 0 0 8px;
  color: #e33030;
  font: 800 0.72rem/1.2 Arial, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gift-finder-intro h1,
.gift-results-head h2 {
  margin: 0;
  max-width: 900px;
  color: #fff;
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(2rem, 5.2vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.gift-finder-intro > div > p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: #b5b5b5;
  font: 400 clamp(0.9rem, 1.5vw, 1.08rem)/1.65 Arial, sans-serif;
}

.gift-finder-intro aside {
  display: grid;
  gap: 3px;
  padding: 18px 0 3px 20px;
  border-left: 3px solid #cc0000;
}

.gift-finder-intro aside strong {
  color: #fff;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.gift-finder-intro aside span {
  color: #e33030;
  font: 800 0.78rem/1.3 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gift-finder-intro aside small {
  margin-top: 7px;
  color: #858585;
  font: 400 0.75rem/1.4 Arial, sans-serif;
}

.gift-finder-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(36px, 6vw, 70px) 0;
}

.gift-finder-progress {
  align-self: start;
  position: sticky;
  top: 24px;
}

.gift-finder-progress > div:first-child {
  display: grid;
  gap: 7px;
}

.gift-finder-progress span {
  color: #e33030;
  font: 800 0.7rem/1 Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gift-finder-progress strong {
  color: #fff;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.gift-finder-progress-track {
  height: 3px;
  margin-top: 18px;
  overflow: hidden;
  background: #2d2d2d;
}

.gift-finder-progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  background: #cc0000;
  transition: width 180ms ease;
}

.gift-finder-form {
  min-width: 0;
}

.gift-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.gift-question legend {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 0;
  color: #fff;
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.gift-question legend span {
  color: #cc0000;
  font-size: 0.72em;
}

.gift-question > p {
  max-width: 720px;
  margin: 12px 0 24px;
  color: #969696;
  font: 400 0.88rem/1.55 Arial, sans-serif;
}

.gift-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gift-option-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gift-option-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gift-option-grid label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.gift-option-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.gift-option-grid label > span {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 15px 42px 15px 16px;
  border: 1px solid #323232;
  background: #111;
  color: #fff;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.gift-option-grid label > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 14px;
  height: 14px;
  border: 1px solid #595959;
  border-radius: 50%;
  transform: translateY(-50%);
}

.gift-option-grid b {
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.gift-option-grid small {
  color: #898989;
  font: 400 0.72rem/1.35 Arial, sans-serif;
}

.gift-option-grid input:checked + span {
  border-color: #d32222;
  background: #241010;
}

.gift-option-grid input:checked + span::after {
  border-color: #ff3636;
  background: #cc0000;
  box-shadow: inset 0 0 0 3px #241010;
}

.gift-option-grid input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.gift-finder-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #292929;
}

.gift-finder-actions p {
  margin: 0;
  color: #858585;
  font: 400 0.76rem/1.4 Arial, sans-serif;
  text-align: center;
}

.gift-primary-action,
.gift-secondary-action,
.gift-results-actions button,
.gift-card-cart,
.gift-card-wishlist {
  min-height: 42px;
  border: 1px solid #cc0000;
  border-radius: 0;
  font: 800 0.72rem/1 Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.gift-primary-action {
  padding: 0 20px;
  background: #cc0000;
  color: #fff;
}

.gift-secondary-action,
.gift-results-actions button {
  padding: 0 17px;
  background: transparent;
  color: #fff;
}

.gift-primary-action:disabled {
  border-color: #343434;
  background: #242424;
  color: #6f6f6f;
  cursor: not-allowed;
}

.gift-primary-action:not(:disabled):hover,
.gift-primary-action:not(:disabled):focus-visible {
  background: #e10000;
}

.gift-secondary-action:hover,
.gift-secondary-action:focus-visible,
.gift-results-actions button:hover,
.gift-results-actions button:focus-visible {
  background: #2a0d0d;
  outline: none;
}

.gift-results {
  padding-top: clamp(28px, 5vw, 52px);
  border-top: 1px solid #292929;
}

.gift-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.gift-results-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.7rem);
}

.gift-results-head > div:first-child > p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
  color: #999;
  font: 400 0.84rem/1.55 Arial, sans-serif;
}

.gift-results-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gift-selection-summary {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.gift-selection-summary span {
  padding: 7px 10px;
  border: 1px solid #333;
  color: #bdbdbd;
  font: 700 0.67rem/1 Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gift-results-status {
  min-height: 20px;
  margin: 18px 0 10px;
  color: #999;
  font: 400 0.78rem/1.4 Arial, sans-serif;
}

.gift-results-status.is-error {
  color: #ff8787;
}

.gift-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gift-product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2f2f2f;
  background: #101010;
}

.gift-product-card.is-over-budget {
  border-color: #5a3d23;
}

.gift-product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.08;
  padding: 18px 8px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(125, 125, 125, 0.12), transparent 46%),
    #0c0c0c;
}

.gift-product-media .tee {
  width: min(100%, 270px);
}

.gift-product-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 58px);
  padding: 6px 8px;
  background: #cc0000;
  color: #fff;
  font: 900 0.58rem/1 Arial, sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.gift-card-wishlist {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-color: #3e3e3e;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.88);
  color: #fff;
}

.gift-card-wishlist svg {
  width: 17px;
  height: 17px;
}

.gift-card-wishlist.is-active {
  border-color: #cc0000;
  background: #cc0000;
}

.gift-card-wishlist.is-active svg {
  fill: currentColor;
}

.gift-product-copy {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 14px;
}

.gift-product-copy h3 {
  margin: 0;
  color: #fff;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.gift-product-copy > a {
  color: #8f8f8f;
  font: 700 0.68rem/1.2 Arial, sans-serif;
  text-decoration: none;
}

.gift-product-copy > a:hover,
.gift-product-copy > a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.gift-product-price {
  margin: 2px 0 0;
  color: #ef3030;
  font: 900 0.95rem/1 Arial, sans-serif;
}

.gift-product-reason {
  margin: 2px 0 0;
  color: #aaa;
  font: 400 0.7rem/1.45 Arial, sans-serif;
}

.gift-product-over-budget {
  color: #e2a567;
  font: 700 0.65rem/1.3 Arial, sans-serif;
}

.gift-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0 14px 14px;
}

.gift-card-actions a,
.gift-card-cart {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid #3a3a3a;
  color: #fff;
  font: 800 0.64rem/1 Arial, sans-serif;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.gift-card-cart {
  border-color: #cc0000;
  background: #cc0000;
}

.gift-card-actions a:hover,
.gift-card-actions a:focus-visible {
  border-color: #777;
}

.gift-card-cart:hover,
.gift-card-cart:focus-visible {
  background: #e10000;
  outline: none;
}

.gift-size-picker {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  padding-top: 4px;
}

.gift-size-picker > span {
  color: #999;
  font: 700 0.65rem/1 Arial, sans-serif;
  text-transform: uppercase;
}

.gift-size-options {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.gift-size-options button {
  min-width: 31px;
  min-height: 31px;
  padding: 4px;
  border: 1px solid #3b3b3b;
  background: #151515;
  color: #fff;
  font: 800 0.62rem/1 Arial, sans-serif;
  cursor: pointer;
}

.gift-size-options button:hover,
.gift-size-options button:focus-visible {
  border-color: #cc0000;
  outline: none;
}

.gift-product-skeleton {
  min-height: 430px;
  border: 1px solid #262626;
  background:
    linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.05) 45%, transparent 65%),
    #101010;
  background-size: 220% 100%;
  animation: gift-loading 1.2s linear infinite;
}

@keyframes gift-loading {
  to {
    background-position: -220% 0;
  }
}

.gift-empty {
  grid-column: 1 / -1;
  padding: 34px 20px;
  border: 1px solid #333;
  color: #aaa;
  font: 400 0.85rem/1.6 Arial, sans-serif;
  text-align: center;
}

.gift-toast {
  z-index: 1100;
}

@media (max-width: 980px) {
  .gift-finder-workspace {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 30px;
  }

  .gift-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gift-option-grid-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .gift-finder {
    width: min(100% - 20px, 620px);
    padding-top: 26px;
  }

  .gift-finder-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gift-finder-intro aside {
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: baseline;
  }

  .gift-finder-intro aside small {
    grid-column: 1 / -1;
  }

  .gift-finder-workspace {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 0 48px;
  }

  .gift-finder-progress {
    position: static;
  }

  .gift-finder-progress > div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .gift-finder-progress-track {
    margin-top: 10px;
  }

  .gift-option-grid,
  .gift-option-grid-four {
    grid-template-columns: 1fr;
  }

  .gift-option-grid label > span {
    min-height: 72px;
  }

  .gift-finder-actions {
    grid-template-columns: auto 1fr;
  }

  .gift-finder-actions p {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: left;
  }

  .gift-finder-actions .gift-primary-action {
    grid-column: 2;
  }

  .gift-results-head {
    display: grid;
  }

  .gift-results-actions {
    justify-content: flex-start;
  }

  .gift-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gift-product-copy,
  .gift-card-actions {
    padding-right: 10px;
    padding-left: 10px;
  }

  .gift-card-actions {
    grid-template-columns: 1fr;
  }

  .gift-product-media {
    aspect-ratio: 1;
    padding-top: 14px;
  }

  .gift-product-copy h3 {
    font-size: 0.88rem;
  }
}

@media (max-width: 390px) {
  .gift-card-actions {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift-finder-progress-track span,
  .gift-option-grid label > span {
    transition: none;
  }

  .gift-product-skeleton {
    animation: none;
  }
}
