/*
 * Baraka Gifting hub — Figma 06_Gifting-Hub_Desktop (1:8569, 1440 wide, 1240
 * content) and 06_Gifting-Hub_Mobile (8:10542, 375 wide, 335 content).
 * Weights carry !important: the site's legacy custom CSS forces
 * "h1–h6, p, a { font-weight: inherit !important }".
 */

.bh-gf { background: #fff; padding-bottom: 88px; }

/* ------------------------------------------------------------- hero (1:8294) */
.bh-gf-hero { position: relative; height: 520px; overflow: hidden; background: var(--bh-walnut); color: #fff; }
.bh-gf-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.bh-gf-hero__img--default { object-position: center 45%; } /* The design's own photo: the band 45% down it. */
.bh-gf-hero__img--m { display: none; }
.bh-gf-hero__shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(48, 35, 28, .84) 0%, rgba(48, 35, 28, .56) 50%, rgba(48, 35, 28, .14) 100%); }
[dir="rtl"] .bh-gf-hero__shade { background: linear-gradient(to left, rgba(48, 35, 28, .84) 0%, rgba(48, 35, 28, .56) 50%, rgba(48, 35, 28, .14) 100%); }
.bh-gf-hero__body { position: absolute; inset: 190px 0 auto; max-width: calc(var(--bh-wrap) + 2 * var(--bh-gutter)); margin-inline: auto; padding-inline: var(--bh-gutter); }
.bh .bh-gf-hero__kicker { font-size: 11.5px; font-weight: 400 !important; letter-spacing: 2.3px; line-height: 16.1px; text-transform: uppercase; color: #e2cdbe; }
.bh .bh-gf-hero__title { max-width: 720px; margin-top: 15px; font-size: 56px; font-weight: 500 !important; line-height: 58.8px; letter-spacing: -1.12px; color: #fff; }
.bh .bh-gf-hero__text { max-width: 440px; margin-top: 15px; font-size: 18px; font-weight: 300 !important; line-height: 28.8px; color: #eadcd2; }

/* ------------------------------------------------ collections (1:8099): 88 top */
.bh-gf .bh-section { padding-top: 88px; }
.bh-gf .bh-kicker { font-weight: 400 !important; }
.bh-gf .bh-more { font-weight: 500 !important; }
.bh-gf .bh-more > span { background: #eaddd3; }
/* 3 × 398, 22 between columns, 32 between rows; picture 240 high, radius 16. */
.bh-gf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 22px; }
.bh-gf-tile { display: flex; flex-direction: column; align-items: flex-start; }
.bh-gf-tile__img { display: block; width: 100%; height: 240px; margin-bottom: 16px; overflow: hidden; border-radius: 16px; background: var(--bh-cream); }
.bh-gf-tile__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s; }
.bh-gf-tile:hover .bh-gf-tile__img img { transform: scale(1.04); }
.bh-gf-tile__name { font-size: 17px; font-weight: 500 !important; color: var(--bh-ink); }
.bh-gf-tile__count { padding-top: 4px; font-size: 13.5px; font-weight: 300 !important; color: var(--bh-muted); }

/* Pill buttons: 52 high, 28 side padding, 13px caps. */
.bh .bh-gf-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding-inline: 28px; border-radius: 999px; font-size: 13px; font-weight: 500 !important; letter-spacing: .78px; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, color .2s; }
.bh .bh-gf-btn--dark { background: var(--bh-coffee); color: #fff; }
.bh .bh-gf-btn--dark:hover { background: var(--bh-walnut); color: #fff; }
.bh .bh-gf-btn--light { background: #fff; color: var(--bh-coffee); }
.bh .bh-gf-btn--light:hover { background: var(--bh-pill); color: var(--bh-walnut); }

/* --------------------------------------------- Customize band (1:8156): 1240 × 498 */
.bh-gf-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; padding: 40px; border: 1px solid var(--bh-line); border-radius: 22px; background: var(--bh-cream); }
.bh .bh-gf-band__kicker { font-size: 11.5px; font-weight: 400 !important; letter-spacing: 2.07px; line-height: 16.1px; text-transform: uppercase; color: var(--bh-kicker); }
.bh .bh-gf-band__title { margin-top: 14px; font-size: 42px; font-weight: 500 !important; line-height: 55px; letter-spacing: -.42px; color: var(--bh-coffee); }
.bh .bh-gf-band__text { margin-top: 14px; font-size: 17px; font-weight: 300 !important; line-height: 27.5px; color: var(--bh-body); }
.bh .bh-gf-band .bh-gf-btn { margin-top: 20px; }
.bh-gf-band__img { height: 416px; overflow: hidden; border-radius: 16px; background: #fff; }
.bh-gf-band__pic { width: 100%; height: 100% !important; object-fit: cover; }

/* ------------------------------- corporate gifting (1:8316): 52 top, 1240 × 300 */
.bh-gf .bh-gf-co { padding-top: 52px; }
.bh-gf-corp { position: relative; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 560px); justify-content: space-between; align-items: start; gap: 32px; min-height: 300px; padding: 54px 48px 18px; overflow: hidden; border-radius: 22px; background: var(--bh-walnut); color: #fff; isolation: isolate; }
.bh-gf-corp__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }
.bh-gf-corp__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(48, 35, 28, .92) 0%, rgba(48, 35, 28, .78) 55%, rgba(48, 35, 28, .5) 100%); }
[dir="rtl"] .bh-gf-corp__shade { background: linear-gradient(to left, rgba(48, 35, 28, .92) 0%, rgba(48, 35, 28, .78) 55%, rgba(48, 35, 28, .5) 100%); }
.bh .bh-gf-corp__kicker { font-size: 11.5px; font-weight: 400 !important; letter-spacing: 2.07px; line-height: 16.1px; text-transform: uppercase; color: #e2cdbe; }
.bh .bh-gf-corp__title { margin-top: 14px; font-size: 42px; font-weight: 500 !important; line-height: 55px; letter-spacing: -.42px; color: #fff; }
.bh .bh-gf-corp__text { max-width: 440px; margin-top: 14px; font-size: 16.75px; font-weight: 300 !important; line-height: 26.8px; color: #eadcd2; }
.bh .bh-gf-corp .bh-gf-btn { margin-top: 22px; }
/* Four points: 2 × 274, 12 gap. */
.bh-gf-corp__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bh-gf-corp__points li { display: flex; flex-direction: column; gap: 5px; min-height: 80.5px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(48, 35, 28, .78); }
.bh-gf-corp__points strong { font-size: 15px; font-weight: 500 !important; line-height: 22px; color: #fff; }
.bh-gf-corp__points span { font-size: 13.5px; font-weight: 300 !important; line-height: 20px; color: #e2cdbe; }

@media (max-width: 1080px) {
	.bh-gf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-gf-corp { grid-template-columns: 1fr; padding-bottom: 40px; }
	.bh-gf-band { gap: 32px; }
}

/* ------------------------------------------------------- mobile (8:10542, 375) */
@media (max-width: 780px) {
	.bh-gf { --bh-gutter: 20px; padding-bottom: 48px; }

	/* Hero (8:10305): 460 high, text 40 from the bottom. */
	.bh-gf-hero { height: 460px; }
	.bh-gf-hero.has-mobile .bh-gf-hero__img { display: none; }
	.bh-gf-hero.has-mobile .bh-gf-hero__img--m { display: block; }
	.bh-gf-hero__shade, [dir="rtl"] .bh-gf-hero__shade { background: linear-gradient(to top, rgba(48, 35, 28, .88) 0%, rgba(48, 35, 28, .56) 50%, rgba(48, 35, 28, .14) 100%); }
	.bh-gf-hero__body { inset: auto 0 40px; }
	.bh .bh-gf-hero__title { font-size: 38px; line-height: 41.8px; letter-spacing: -.76px; }
	.bh .bh-gf-hero__text { max-width: none; font-size: 16px; line-height: 26px; }

	/* Collections (8:10107): 2 × 160, 15 / 22 gaps, picture 144. */
	.bh-gf .bh-section { padding-top: 48px; }
	.bh .bh-gf .bh-title { margin-top: 13px; }
	.bh-gf-grid { gap: 22px 15px; }
	.bh-gf-tile__img { height: 144px; }
	.bh-gf-tile__name { font-size: 15px; }
	.bh-gf-tile__count { font-size: 13px; }

	/* Customize (8:10161): picture 220 on top, text under it, full-width button. */
	.bh-gf-band { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px; }
	.bh-gf-band__img { order: -1; height: 220px; }
	.bh .bh-gf-band__title, .bh .bh-gf-corp__title { font-size: 31px; line-height: 40px; letter-spacing: -.31px; }
	.bh .bh-gf-band__text { font-size: 16px; line-height: 25.67px; }
	.bh .bh-gf-band .bh-gf-btn { display: flex; margin-top: 20px; }

	/* Corporate (8:10318): 36 top, 335 × 560, points pinned to the bottom. */
	.bh-gf .bh-gf-co { padding-top: 36px; }
	.bh-gf-corp { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 560px; padding: 28px 22px 24px; }
	.bh-gf-corp__shade, [dir="rtl"] .bh-gf-corp__shade { background: linear-gradient(to bottom, rgba(48, 35, 28, .92) 0%, rgba(48, 35, 28, .7) 50%, rgba(48, 35, 28, .86) 100%); }
	.bh .bh-gf-corp__text { max-width: none; font-size: 15.6px; line-height: 25px; }
	.bh-gf-corp__points { gap: 12px 13px; }
	.bh-gf-corp__points li { min-height: 87px; padding: 12px 14px; }
	.bh-gf-corp__points strong { font-size: 14px; line-height: 20px; }
	.bh-gf-corp__points span { font-size: 12px; line-height: 18px; }
}
