/* Occasion pages — an editorial edit. Brand tokens from brand/README.md.
   Scoped under .bj-occ so nothing leaks into the theme. Mobile first. */

.bj-occ {
	--ink: #1C1A17;
	--stone: #4A443C;
	--ivory: #FBF8F3;
	--copper: #7A4E22;
	--brass: #8A6031;
	--line: rgba(28, 26, 23, .10);
	--radius: 18px;
	background: var(--ivory);
	color: var(--ink);
	font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding-bottom: 8px;
	overflow-x: clip;
}
.bj-occ *, .bj-occ *::before, .bj-occ *::after { box-sizing: border-box; }
.bj-occ a { color: inherit; text-decoration: none; }
.bj-occ img { display: block; width: 100%; height: 100%; object-fit: cover; }

.bj-occ-staff {
	margin: 0; padding: 8px 16px; text-align: center;
	background: #4A1240; color: #fff; font-size: 12px; letter-spacing: .04em;
}

/* ---------- hero ---------- */
.bj-occ-hero {
	background: var(--occ-tint, #F3ECE2);
	padding: 36px 16px 32px;
	display: grid;
	gap: 28px;
}
.bj-occ-hero__text { max-width: 560px; }
.bj-occ-eyebrow {
	margin: 0 0 14px; font-size: 12px; font-weight: 600;
	letter-spacing: .18em; text-transform: uppercase; color: var(--copper);
}
.bj-occ .bj-occ-title {
	margin: 0; font-family: "Marcellus", Georgia, serif; font-weight: 400;
	font-size: clamp(32px, 7.5vw, 60px); line-height: 1.08; color: var(--ink);
	letter-spacing: -.005em; text-transform: none;
}
.bj-occ-lede {
	margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: var(--stone); max-width: 34em;
}
.bj-occ-meta {
	margin: 20px 0 0; font-size: 13px; letter-spacing: .06em; color: var(--copper);
	display: flex; align-items: center; gap: 12px;
}
.bj-occ-meta::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.bj-occ-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.bj-occ-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 46px; padding: 0 22px; border-radius: 999px;
	font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bj-occ .bj-occ-btn--dark { background: var(--ink); color: var(--ivory); }
.bj-occ .bj-occ-btn--light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.bj-occ-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(28, 26, 23, .12); }
.bj-occ-btn:focus-visible, .bj-occ-card:focus-visible, .bj-occ-chip:focus-visible,
.bj-occ-tile:focus-visible, .bj-occ-mini:focus-visible, .bj-occ-hero__piece:focus-visible {
	outline: 2px solid var(--copper); outline-offset: 3px;
}

.bj-occ-hero__piece { position: relative; display: block; max-width: 520px; width: 100%; justify-self: center; }
.bj-occ-hero__img {
	display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
	background: #fff; box-shadow: 0 18px 40px rgba(28, 26, 23, .14);
}
.bj-occ-hero__caption {
	position: relative; margin: -44px 16px 0; padding: 14px 16px;
	display: grid; gap: 4px; background: #fff; border-radius: 14px;
	box-shadow: 0 8px 24px rgba(28, 26, 23, .10);
}
.bj-occ-hero__label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.bj-occ-hero__name {
	font-size: 15px; line-height: 1.35; color: var(--ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bj-occ-hero__price, .bj-occ-card__price { font-size: 15px; font-weight: 600; color: var(--ink); }
.bj-occ ins { text-decoration: none; }
.bj-occ del { opacity: .5; font-weight: 400; margin-right: 6px; }

/* ---------- occasion switcher ---------- */
.bj-occ-switch {
	display: flex; gap: 8px; overflow-x: auto; padding: 18px 16px;
	scrollbar-width: none; border-bottom: 1px solid var(--line);
	/* Not sticky: Jaroti has its own sticky header, which would cover a top:0 bar. */
}
.bj-occ-switch::-webkit-scrollbar { display: none; }
.bj-occ-chip {
	flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
	background: #fff; font-size: 13px; color: var(--stone); white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}
.bj-occ .bj-occ-chip.is-current { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* ---------- the edit ---------- */
.bj-occ-edit {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 14px; padding: 28px 16px 12px; max-width: 1240px; margin: 0 auto;
}
.bj-occ-feature { grid-column: 1 / -1; }
.bj-occ-card { display: grid; gap: 8px; align-content: start; }
.bj-occ-card__img {
	display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #fff;
	box-shadow: 0 1px 2px rgba(28, 26, 23, .06);
}
.bj-occ-card__img img { transition: transform .5s ease; }
.bj-occ-card:hover .bj-occ-card__img img { transform: scale(1.04); }
.bj-occ-card__name {
	font-size: 14px; line-height: 1.4; color: var(--ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bj-occ-feature .bj-occ-card__img { aspect-ratio: 1 / 1; border-radius: 22px; }

/* Card actions: wishlist (YITH), quick view (theme modal), add to cart (WooCommerce ajax). Always
   shown on touch screens; revealed on hover or keyboard focus where there is a mouse. */
.bj-occ-card__media { position: relative; }
.bj-occ-card__acts { position: absolute; top: 10px; right: 10px; display: grid; gap: 8px; z-index: 2; }
.bj-occ .bj-occ-act, .bj-occ .bj-occ-act--wish a {
	width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink);
	display: grid; place-items: center; box-shadow: 0 2px 10px rgba(28, 26, 23, .14); text-decoration: none;
	transition: background .2s ease, color .2s ease, transform .2s ease; position: relative; margin: 0; padding: 0;
}
.bj-occ .bj-occ-act--wish { width: auto; height: auto; background: none; box-shadow: none; }
.bj-occ .bj-occ-act svg, .bj-occ .bj-occ-act--wish svg { width: 18px; height: 18px; margin: 0; }
.bj-occ .bj-occ-act:hover, .bj-occ .bj-occ-act--wish a:hover { background: var(--ink); color: #fff; }
/* The theme draws its own eye on every a.quickshop (a masked ::after); ours is the SVG, so hide
   the theme's or phones show two eyes (owner, 2026-09-25). */
.bj-occ .bj-occ-act.quickshop::before, .bj-occ .bj-occ-act.quickshop::after { content: none !important; display: none !important; }
/* Wishlist markup from YITH: keep only the icon; its words stay for screen readers. */
.bj-occ .bj-occ-act--wish .yith-wcwl-add-to-wishlist { margin: 0; }
.bj-occ .bj-occ-act--wish a > span, .bj-occ .bj-occ-act--wish .feedback, .bj-occ .bj-occ-act--wish .separator,
.bj-occ .bj-occ-act--wish .yith-wcwl-icon ~ span {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.bj-occ .bj-occ-act--wish .yith-wcwl-wishlistaddedbrowse a, .bj-occ .bj-occ-act--wish .yith-wcwl-wishlistexistsbrowse a { color: #B3261E; }
/* After WooCommerce adds to cart: a spinner while loading, a tick when done, no "View cart" link. */
.bj-occ .bj-occ-act--cart.loading { opacity: .6; pointer-events: none; }
.bj-occ .bj-occ-act--cart.added { background: #1B6B47; color: #fff; }
.bj-occ .bj-occ-card .added_to_cart { display: none !important; }
@media (hover: hover) {
	.bj-occ-card__acts { opacity: 0; transform: translateX(6px); transition: opacity .2s ease, transform .2s ease; }
	.bj-occ-card:hover .bj-occ-card__acts, .bj-occ-card:focus-within .bj-occ-card__acts { opacity: 1; transform: none; }
}
.bj-occ-feature .bj-occ-card__name { font-size: 16px; }

.bj-occ-note {
	grid-column: 1 / -1; margin: 10px 0; padding: 28px 22px;
	background: #fff; border-radius: 22px; border-left: 3px solid var(--copper);
}
.bj-occ-note__eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.bj-occ .bj-occ-note blockquote {
	margin: 0; padding: 0; border: 0; background: none;
	font-family: "Marcellus", Georgia, serif; font-size: clamp(20px, 4.6vw, 28px); line-height: 1.35; color: var(--ink); font-style: normal;
}
.bj-occ-note__sign { margin: 14px 0 0; font-size: 13px; color: var(--stone); }
.bj-occ-note__sign::before { content: "— "; }

/* ---------- more occasions ---------- */
.bj-occ-more { padding: 36px 0 8px; max-width: 1240px; margin: 0 auto; }
.bj-occ .bj-occ-h2 {
	margin: 0 16px 16px; font-family: "Marcellus", Georgia, serif; font-weight: 400;
	font-size: clamp(24px, 5vw, 34px); line-height: 1.2; color: var(--ink); text-transform: none;
}
.bj-occ-more__row {
	display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 16px;
	scroll-snap-type: x mandatory; scrollbar-width: none;
}
.bj-occ-more__row::-webkit-scrollbar { display: none; }
.bj-occ-mini {
	flex: 0 0 168px; scroll-snap-align: start; display: grid; gap: 10px;
	padding: 10px; border-radius: 20px; background: var(--occ-tint, #F3ECE2);
}
.bj-occ-mini__img { display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #fff; }
.bj-occ-mini__name { font-family: "Marcellus", Georgia, serif; font-size: 18px; padding: 0 4px 4px; color: var(--ink); }

/* ---------- index (Shop by Occasion) ---------- */
.bj-occ-hero--index { padding-bottom: 40px; }
.bj-occ-index {
	display: grid; grid-template-columns: 1fr; gap: 18px;
	padding: 28px 16px 12px; max-width: 1240px; margin: 0 auto;
}
.bj-occ-tile {
	display: grid; border-radius: 24px; overflow: hidden; background: var(--occ-tint, #F3ECE2);
	transition: transform .25s ease, box-shadow .25s ease;
}
.bj-occ-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(28, 26, 23, .12); }
.bj-occ-tile__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #fff; }
.bj-occ-tile__body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.bj-occ-tile__name { font-family: "Marcellus", Georgia, serif; font-size: 26px; line-height: 1.15; color: var(--ink); }
.bj-occ-tile__hook { font-size: 14px; line-height: 1.5; color: var(--stone); }
.bj-occ-tile__count { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }

/* ---------- WhatsApp help ---------- */
.bj-occ-help {
	margin: 36px 16px 24px; padding: 32px 22px; text-align: center;
	background: #fff; border-radius: 24px; border: 1px solid var(--line);
	display: grid; justify-items: center; gap: 10px;
}
.bj-occ-help__title { margin: 0; font-family: "Marcellus", Georgia, serif; font-size: clamp(22px, 5vw, 30px); color: var(--ink); }
.bj-occ-help__text { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--stone); max-width: 30em; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
	.bj-occ-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bj-occ-mini { flex-basis: 200px; }
}
@media (min-width: 900px) {
	.bj-occ-hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
		gap: 56px; padding: 64px max(32px, calc((100vw - 1240px) / 2 + 32px));
	}
	.bj-occ-hero--index { grid-template-columns: 1fr; padding-bottom: 56px; }
	.bj-occ-lede { font-size: 18px; }
	.bj-occ-switch { padding: 18px max(32px, calc((100vw - 1240px) / 2 + 32px)); }
	.bj-occ-edit { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; padding: 44px 32px 16px; }
	/* The feature spans two rows; make its image grow to fill them, so the text sits at the
	   bottom of the slot instead of leaving a blank gap under it (owner, 2026-09-25). */
	.bj-occ-feature { grid-column: span 2; grid-row: span 2; display: flex; }
	.bj-occ-feature .bj-occ-card { display: flex; flex-direction: column; gap: 8px; width: 100%; }
	.bj-occ-feature .bj-occ-card__media { flex: 1 1 auto; display: flex; min-height: 420px; }
	.bj-occ-feature .bj-occ-card__img { aspect-ratio: auto; flex: 1 1 auto; }
	.bj-occ-note { padding: 40px 48px; }
	.bj-occ-more .bj-occ-h2, .bj-occ-more__row { margin-left: 32px; margin-right: 32px; padding-left: 0; padding-right: 0; }
	.bj-occ-index { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding: 44px 32px 16px; }
	.bj-occ-help { max-width: 1176px; margin: 48px auto 32px; padding: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.bj-occ *, .bj-occ *::before, .bj-occ *::after { transition: none !important; }
	.bj-occ-card:hover .bj-occ-card__img img, .bj-occ-tile:hover, .bj-occ-btn:hover { transform: none; }
}

/* ==========================================================================
   Homepage "Shop by occasion" — sits just above "Our collections" and matches it:
   Marcellus eyebrow and heading at the measured sizes (16px / 40px, bold, 0.75px
   tracking), the same faded background image, and the occasion-page tiles for cards.
   ========================================================================== */
.bj-occ-home {
	--ink: #1C1A17; --stone: #4A443C; --copper: #7A4E22;
	padding: 72px 0 36px; font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background-color: #faf9fa; background-position: center top; background-size: cover; background-repeat: no-repeat;
}
.bj-occ-home *, .bj-occ-home *::before, .bj-occ-home *::after { box-sizing: border-box; }
.bj-occ-home a { color: inherit; text-decoration: none; }
.bj-occ-home img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bj-occ-home__head { text-align: center; padding: 0 16px; max-width: 820px; margin: 0 auto 32px; }
.bj-occ-home .bj-occ-home__eyebrow {
	margin: 0 0 18px; font-family: "Marcellus", Georgia, serif; font-size: 16px; font-weight: 700;
	line-height: 1; letter-spacing: .75px; text-transform: uppercase; color: #000;
	text-decoration: underline; text-underline-offset: 4px;
}
.bj-occ-home__staff {
	display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: #4A1240;
	color: #fff; font-family: "Jost", sans-serif; font-size: 9px; font-weight: 600; letter-spacing: .06em; text-decoration: none; vertical-align: middle;
}
.bj-occ-home .bj-occ-home__title {
	margin: 0; font-family: "Marcellus", Georgia, serif; font-weight: 700; text-transform: none;
	font-size: clamp(28px, 4vw, 40px); line-height: 1.3; letter-spacing: .75px; color: #000;
}
.bj-occ-home__sub { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--stone); }

.bj-occ-home__wrap { position: relative; max-width: 1320px; margin: 0 auto; }
.bj-occ-home__row {
	display: flex; gap: 20px; overflow-x: auto; padding: 6px 16px 16px;
	scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none;
}
.bj-occ-home__row::-webkit-scrollbar { display: none; }
.bj-occ-home .bj-occ-home__card { flex: 0 0 78vw; max-width: 320px; scroll-snap-align: start; align-content: start; }

/* Occasion tile (shared with the Shop by Occasion page, whose rules sit under .bj-occ). */
.bj-occ-home .bj-occ-tile {
	display: grid; grid-template-rows: auto 1fr; border-radius: 24px; overflow: hidden;
	background: var(--occ-tint, #F3ECE2); transition: transform .25s ease, box-shadow .25s ease;
}
.bj-occ-home .bj-occ-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(28, 26, 23, .12); }
.bj-occ-home .bj-occ-tile__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #fff; }
.bj-occ-home .bj-occ-tile__body { display: grid; gap: 6px; align-content: start; padding: 18px 20px 22px; }
.bj-occ-home .bj-occ-tile__name { font-family: "Marcellus", Georgia, serif; font-size: 26px; line-height: 1.15; color: var(--ink); }
.bj-occ-home .bj-occ-tile__hook { font-size: 14px; line-height: 1.5; color: var(--stone); }
.bj-occ-home .bj-occ-tile__count { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.bj-occ-home .bj-occ-tile:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.bj-occ-home__arrow {
	position: absolute; top: calc(50% - 40px); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(28, 26, 23, .12); background: rgba(255, 255, 255, .96); color: var(--ink);
	font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(28, 26, 23, .14);
}
.bj-occ-home__arrow--prev { left: 4px; }
.bj-occ-home__arrow--next { right: 4px; }
.bj-occ-home__arrow[hidden] { display: none; }

.bj-occ-home__all { text-align: center; margin: 22px 0 0; }
.bj-occ-home__all a {
	font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--ink); text-decoration: underline; text-underline-offset: 5px;
}

/* "Our collections" follows directly: tighten its 100px top padding so the two read as
   one band rather than two islands. */
.bj-occ-home ~ .elementor-element-9fb75f3 { padding-top: 48px !important; }

@media (min-width: 640px) { .bj-occ-home .bj-occ-home__card { flex-basis: 44%; } }
@media (min-width: 1000px) {
	.bj-occ-home { padding-top: 100px; }
	.bj-occ-home .bj-occ-home__card { flex-basis: calc((100% - 60px) / 4); max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
	.bj-occ-home .bj-occ-tile { transition: none; }
	.bj-occ-home .bj-occ-tile:hover { transform: none; }
}
