/* Gifting hub (/gifts) — app "gifts" design on mobile, adapted to the web grid on desktop. */

.be-gifts {
  padding-bottom: 40px;
  color: var(--be-ink);
}

.be-gifts__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 24px;
}

.be-gifts__head h1 {
  margin: 0;
  font-family: var(--be-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  color: var(--be-ink);
}

.be-gifts__head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--be-color-text-muted, #9e8b82);
}

.be-gifts__back {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #ffe5e0;
  border-radius: 14px;
  background: var(--be-white);
  color: var(--be-ink);
}

.be-gifts__sec {
  margin-bottom: 28px;
}

.be-gifts__h {
  margin: 0 0 12px;
  font-family: var(--be-font-ui);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: var(--be-ink);
}

.be-gifts__sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.be-gifts__sec-head .be-gifts__h {
  margin: 0;
}

.be-gifts__sec-head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--be-coral);
}

/* Shop for */
.be-gifts__who {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 8px;
}

.be-gifts__who a {
  display: grid;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--be-ink-soft);
}

.be-gifts__who-img {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 20px;
  background: #ffe9e5;
}

.be-gifts__who-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.be-gifts__who a:hover img {
  transform: scale(1.04);
}

/* Banner */
.be-gifts__banner {
  position: relative;
  display: block;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffe9e5;
}

.be-gifts__banner img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.be-gifts__banner span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.be-gifts__banner::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, rgba(90, 35, 51, 0) 0%, rgba(90, 35, 51, 0.45) 100%);
  pointer-events: none;
}

.be-gifts__banner span {
  z-index: 1;
}

/* Gift ideas */
.be-gifts__ideas {
  display: flex;
  gap: 12px;
  margin: 0 calc(-1 * var(--be-m-pad, 24px));
  padding: 0 var(--be-m-pad, 24px) 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.be-gifts__ideas::-webkit-scrollbar {
  display: none;
}

.be-gifts__ideas a {
  display: grid;
  flex: 0 0 140px;
  align-content: start;
  gap: 4px;
  scroll-snap-align: start;
  color: var(--be-ink);
}

.be-gifts__idea-img {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--be-white);
  color: var(--be-coral);
}

.be-gifts__idea-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-gifts__idea-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.be-gifts__idea-meta {
  font-size: 11px;
  color: var(--be-color-text-muted, #9e8b82);
}

/* Pills */
.be-gifts__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.be-gifts__pills a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-white);
  font-size: 12px;
  font-weight: 500;
  color: var(--be-ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.be-gifts__pills a:hover {
  border-color: var(--be-coral-soft);
  color: var(--be-ink);
}

/* Brands */
.be-gifts__brands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.be-gifts__brands a {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--be-line);
  border-radius: 18px;
  background: var(--be-white);
  text-align: center;
}

.be-gifts__brands img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.be-gifts__brands span {
  padding: 8px;
  font-family: var(--be-font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--be-ink);
}

/* Make it a gift */
.be-gifts__make {
  display: grid;
  gap: 20px;
  margin-top: 8px;
  padding: 20px;
  border: 1px solid var(--be-line);
  border-radius: 24px;
  background: var(--be-white);
}

.be-gifts__make-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #ffe9e5;
  color: var(--be-coral);
}

.be-gifts__make-copy p {
  margin: -6px 0 14px;
  font-size: 13px;
  color: var(--be-ink-soft);
}

.be-gifts__steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.be-gifts__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 20px;
  color: var(--be-ink-soft);
}

.be-gifts__steps .n {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffe9e5;
  font-size: 12px;
  font-weight: 600;
  color: var(--be-coral);
}

.be-gifts__present-h {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--be-ink-soft);
}

.be-gifts__present {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.be-gifts__present li {
  display: grid;
  gap: 2px;
  padding: 10px 8px;
  border: 1.5px solid var(--be-line);
  border-radius: 14px;
  text-align: center;
  font-size: 12px;
}

.be-gifts__present strong {
  font-weight: 600;
  color: var(--be-ink);
}

.be-gifts__present span {
  color: var(--be-color-text-success, #2a8e7d);
  font-weight: 500;
}

.be-gifts__present-note {
  margin: 10px 0 16px;
  font-size: 12px;
  color: var(--be-color-text-muted, #9e8b82);
}

.be-gifts__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  border-radius: 999px;
  background: var(--be-ink);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: background 0.2s ease;
}

.be-gifts__cta:hover {
  background: #7a153d;
  color: #fff;
}

/* ---------- Desktop ---------- */
.be-gifts--d {
  padding-bottom: 72px;
}

.be-gifts--d .be-gifts__wm {
  margin: 24px 0 8px;
}

.be-gifts--d .be-watermark__title {
  font-size: 32px;
  line-height: 40px;
}

.be-gifts__lead {
  margin: 0 0 36px;
  text-align: center;
  font-size: 15px;
  color: var(--be-ink-soft);
}

.be-gifts--d .be-gifts__sec {
  margin-bottom: 48px;
}

.be-gifts--d .be-gifts__h {
  margin-bottom: 20px;
  font-family: var(--be-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.be-gifts--d .be-gifts__sec-head {
  margin-bottom: 20px;
}

.be-gifts--d .be-gifts__who {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.be-gifts--d .be-gifts__who a {
  gap: 12px;
  font-size: 15px;
  color: var(--be-ink);
}

.be-gifts--d .be-gifts__who-img {
  border-radius: 28px;
}

.be-gifts--d .be-gifts__banner {
  margin-bottom: 48px;
  border-radius: 32px;
}

.be-gifts--d .be-gifts__banner img {
  height: 320px;
}

.be-gifts--d .be-gifts__banner span {
  left: 40px;
  bottom: 32px;
  font-family: var(--be-font-display);
  font-size: 32px;
  line-height: 40px;
}

.be-gifts--d .be-gifts__ideas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.be-gifts--d .be-gifts__idea-img {
  border: 1px solid var(--be-line);
  border-radius: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.be-gifts--d .be-gifts__ideas a:hover .be-gifts__idea-img {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(90, 35, 51, 0.1);
}

.be-gifts--d .be-gifts__idea-title {
  font-size: 15px;
  line-height: 22px;
}

.be-gifts--d .be-gifts__idea-meta {
  font-size: 13px;
}

.be-gifts--d .be-gifts__pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.be-gifts--d .be-gifts__pills a {
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.be-gifts--d .be-gifts__brands {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.be-gifts--d .be-gifts__brands a {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
}

.be-gifts--d .be-gifts__brands span {
  font-size: 20px;
}

.be-gifts--d .be-gifts__make {
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff 0%, #fff4f0 100%);
}

.be-gifts--d .be-gifts__make-copy p {
  margin: -8px 0 20px;
  font-size: 15px;
}

.be-gifts--d .be-gifts__steps li {
  font-size: 15px;
  line-height: 24px;
}

.be-gifts--d .be-gifts__present li {
  padding: 16px 12px;
  font-size: 14px;
}

.be-gifts--d .be-gifts__cta {
  height: 56px;
  font-size: 15px;
}
