/* InfiMagine Gifting — restrained typography, generous galleries, warm metal. */
.gifting-page {
  --gift-paper: #121311;
  --gift-ink: #eeeae1;
  --gift-muted: #a7a79b;
  --gift-accent: #c6ab7d;
  --gift-border: #ffffff20;
  background: var(--gift-paper);
  color: var(--gift-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.gifting-page::before, .gifting-page::after { display: none; }
.gifting-page button, .gifting-page input, .gifting-page select, .gifting-page textarea { font: inherit; }
.gifting-page a:focus-visible, .gifting-page button:focus-visible, .gifting-page summary:focus-visible { outline: 2px solid var(--gift-accent); outline-offset: 6px; }
.gifting-page em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--gift-accent); }
.gifting-page h2 { font: 400 clamp(2.5rem, 4.6vw, 4.7rem)/1.13 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; margin: 20px 0; }
.gift-width { width: min(1300px, 86%); margin-inline: auto; }
.gift-kicker { font-size: .75rem; line-height: 1.7; letter-spacing: .2em; font-weight: 400; margin: 0; color: var(--gift-accent); }

/* A quiet masthead, continuous with the photographic cover. */
.gifting-page .site-header { position: absolute; top: 0; inset-inline: 0; width: 100%; max-width: none; transform: none; margin: 0; padding: 30px 5%; color: #eeeae1; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.gifting-page .site-header.is-scrolled { background: transparent; backdrop-filter: none; }
.gifting-page .brand { gap: 14px; }
.gifting-page .brand-mark { border: 0; box-shadow: none; border-radius: 0; width: 40px; height: 40px; }
.gifting-page .brand-lockup > span { font-weight: 500; letter-spacing: .025em; }
.gifting-page .brand-lockup small { font-size: .75rem; letter-spacing: .16em; font-weight: 400; margin-top: 8px; text-transform: uppercase; color: #c5bba9; }
.gifting-page .nav-links { font-size: .875rem; gap: 28px; }
.gifting-page .nav-links a { color: #e0dcd2; }
.gifting-page .nav-links a:hover { text-shadow: none; color: var(--gift-accent); }
.gifting-page .nav-links a[aria-current] { color: var(--gift-accent); opacity: 1; }
.gifting-page .header-action { background: transparent; border: 0; border-bottom: 1px solid #c6ab7d80; border-radius: 0; color: #e5d3b6; box-shadow: none; padding: 12px 0; font-weight: 400; font-size: .875rem; }
.gifting-page .mobile-menu { background: #191b17; border-color: var(--gift-border); border-radius: 0; }
.gifting-page .menu-toggle { border-color: var(--gift-border); background: transparent; box-shadow: none; border-radius: 0; }

/* Cover */
.gift-hero { position: relative; min-height: 820px; height: 100svh; max-height: 1080px; overflow: hidden; background: #14130f; }
.gift-hero-image { position: absolute; inset: 0; }
.gift-hero-image > img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.gift-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #11120fde 0%, #11120f90 28%, transparent 68%), linear-gradient(0deg, #121311 0%, transparent 24%, transparent 80%, #11120f66); }
.gift-hero-content { position: relative; padding-top: clamp(190px, 24vh, 270px); margin-left: 7%; max-width: 680px; }
.gift-hero-content .gift-kicker { display: flex; align-items: center; gap: 18px; }
.gift-kicker > span { width: 34px; height: 1px; background: currentColor; }
.gift-hero h1 { font: 400 clamp(4.5rem, 7.4vw, 8rem)/.98 Georgia, 'Times New Roman', serif; letter-spacing: -.052em; margin: 36px 0 30px; }
.gift-hero-content > p:not(.gift-kicker) { color: #c1beb4; font-size: 1rem; line-height: 1.9; max-width: 320px; margin: 30px 0 34px; }
.gift-button { min-height: 56px; padding: 19px 29px; border: 1px solid #c6ab7d; border-radius: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 54px; background: #d0b78c; color: #20221b; font-size: .875rem; font-weight: 500; cursor: pointer; transition: background .25s, border-color .25s; }
.gift-button:hover { background: #e1cba7; border-color: #e1cba7; }
.gift-button > span { font-size: 1.2rem; transition: transform .25s; }
.gift-button:hover > span { transform: translate(3px, -3px); }
.hero-footnote { display: block; font-size: .75rem; color: #a4a598; margin-top: 22px; letter-spacing: .03em; }
.hero-caption { position: absolute; bottom: 70px; right: 7%; padding-right: 25px; border-right: 1px solid #c6ab7d80; text-align: right; max-width: 360px; }
.hero-caption > span { display: block; font-size: .75rem; letter-spacing: .15em; color: var(--gift-accent); margin-bottom: 12px; }
.hero-caption strong { font: italic 400 1.15rem/1.5 Georgia, serif; }
.hero-number { position: absolute; bottom: 70px; left: 7%; color: #babaa9; font-size: .75rem; letter-spacing: .17em; }
.gift-promise { width: 86%; margin: 0 auto; padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 22px; border-bottom: 1px solid var(--gift-border); color: #abafa0; font-size: .875rem; }
.gift-promise i { font-style: normal; color: #c6ab7d85; }

/* Each piece gets the space of a gallery object. */
.gift-collection { padding: 110px 0 100px; }
.collection-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.collection-heading > div { max-width: 760px; }
.collection-heading > p { color: var(--gift-muted); font-size: 1rem; line-height: 1.9; max-width: 265px; margin-bottom: 24px; }
.collection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--gift-border); margin: 47px 0 52px; }
.collection-filters { display: flex; gap: 32px; overflow-x: auto; max-width: 100%; scrollbar-width: thin; scrollbar-color: #c6ab7d #191b17; }
.collection-filters button { background: transparent; color: #999f90; border: 0; border-bottom: 1px solid transparent; padding: 18px 0; white-space: nowrap; font-size: .875rem; cursor: pointer; }
.collection-filters button:hover { color: #e5e2d8; }
.collection-filters button[aria-pressed=true] { color: #ddc49e; border-bottom-color: #c6ab7d; }
.collection-filters sup { font-size: .75rem; margin-left: 5px; }
.collection-count { font-size: .75rem; color: var(--gift-muted); white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 76px 6%; align-items: start; }
.product-card { min-width: 0; }
.product-card[hidden] { display: none; }
.product-image { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1.06; background: #1d1a15; overflow: hidden; }
.product-image::after { content: ''; position: absolute; inset: 14px; border: 1px solid #e1cba716; pointer-events: none; transition: border-color .35s; }
.product-image:hover::after { border-color: #e1cba760; }
.product-frame { position: relative; display: block; aspect-ratio: var(--crop-ratio); width: 100%; flex-shrink: 0; overflow: hidden; }
.product-frame img { display: block; position: absolute; max-width: none; height: auto; }
.product-image .product-frame { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product-image:hover .product-frame { transform: scale(1.025); }
.product-frame.editorial-frame { width: 100%; aspect-ratio: 1122/1402; }
.editorial-frame img { position: static; width: 100%; height: auto; max-width: 100%; }
.product-frame.figurine-frame { width: 100%; aspect-ratio: 1; }
.figurine-frame img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: right; max-width: 100%; }
.product-image:has(.frame-lotus-wall-light) { background: #211509; }
.product-image:has(.frame-mountain-wall-light) { background: #070510; }
.product-image:has(.frame-photo-night-lamp) { background: #211a0b; }
.product-image:has(.frame-logo-sign) { background: #413524; }
.product-image .frame-lotus-wall-light { width: 83%; }
.product-image .frame-photo-night-lamp { width: 70%; }
.product-image .frame-logo-sign { width: 80%; }
.product-index { position: absolute; top: 30px; left: 30px; color: #e6d7be; font-size: .75rem; letter-spacing: .16em; }
.product-open { position: absolute; bottom: 26px; right: 28px; color: #eee6d8; font-size: 1.65rem; transition: transform .25s; }
.product-image:hover .product-open { transform: translate(3px, -3px); }
.product-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 25px; color: var(--gift-accent); font-size: .75rem; letter-spacing: .08em; line-height: 1.6; }
.product-meta > span:last-child { color: #959b8d; }
.product-card h3 { margin: 13px 0 10px; font: 400 clamp(1.65rem, 2.3vw, 2.25rem)/1.25 Georgia, serif; letter-spacing: -.025em; }
.product-line { color: var(--gift-muted); font-size: 1rem; line-height: 1.6; margin: 0; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid var(--gift-border); padding-top: 18px; margin-top: 26px; font-size: .875rem; }
.product-bottom > span { color: #929888; }
.product-bottom a { color: #dcc49d; min-height: 36px; display: inline-flex; align-items: center; gap: 22px; }
.product-bottom a:hover { color: #f0dfc2; }
/* The complete edit is intentionally staggered; filtered views stay compact. */
.product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(2),
.product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(4) { margin-top: 110px; }
.product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(5) { grid-column: 1/-1; }
.product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(5) .product-image { aspect-ratio: 2.6; }
.product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(5) .product-frame { width: 87%; }
.product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(5) h3 { font-size: 2.5rem; }

/* An editorial interlude, followed by concise ordering information. */
.gift-story { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; background: #1c2019; min-height: 600px; }
.story-visual { position: relative; background: #1c160f; overflow: hidden; min-height: 600px; }
.story-visual .editorial-frame { width: 100%; height: 100%; }
.story-visual .editorial-frame img { height: 100%; object-fit: cover; }
.story-visual > span:not(.product-frame) { position: absolute; bottom: 35px; left: 10%; right: 10%; color: #dac4a0; font-size: .75rem; line-height: 1.8; letter-spacing: .13em; text-align: center; }
.story-copy { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: 65px 14%; }
.story-copy h2 { font-size: clamp(2.5rem, 3.6vw, 3.8rem); }
.story-copy > p:not(.gift-kicker) { font-size: 1rem; color: #adb2a3; line-height: 1.9; }
.gift-text-link { display: flex; justify-content: space-between; gap: 25px; padding: 15px 0; border-bottom: 1px solid #c6ab7d70; color: #dbc49c; font-size: .875rem; margin-top: 15px; }
.gift-process { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding: 130px 0 90px; }
.gift-process h2 { font-size: clamp(2.5rem, 3.8vw, 4rem); }
.gift-process ol { list-style: none; padding: 0; margin: 5px 0 0; }
.gift-process li { display: flex; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--gift-border); }
.gift-process li:first-child { padding-top: 0; }
.gift-process li > span { font: italic 400 1.5rem/1.6 Georgia, serif; color: var(--gift-accent); }
.gift-process h3 { font: 400 1.5rem/1.4 Georgia, serif; margin: 0 0 14px; }
.gift-process li p { font-size: 1rem; line-height: 1.9; color: var(--gift-muted); margin: 0; }
.gift-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding: 55px 0 120px; border-top: 1px solid var(--gift-border); }
.gift-faq h2 { font-size: clamp(2rem, 2.7vw, 3rem); }
.gift-faq details { padding: 24px 0; border-bottom: 1px solid var(--gift-border); }
.gift-faq summary { cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font-size: 1rem; list-style: none; }
.gift-faq summary::-webkit-details-marker { display: none; }
.gift-faq summary > span { color: var(--gift-accent); }
.gift-faq details[open] summary > span { transform: rotate(45deg); }
.gift-faq details p { font-size: 1rem; line-height: 1.9; color: var(--gift-muted); }
.gifting-page .footer { padding: 42px 7%; margin: 0; border-top: 1px solid var(--gift-border); background: #0c0e0b; color: #c4c8bc; }
.gifting-page .footer-copy span { color: #9ca38f; }
.gifting-page .social-links a { border-color: var(--gift-border); color: #d0b98f; background: transparent; }

/* Personalization is part of the same considered experience. */
.gift-dialog { width: min(1160px, 94vw); max-height: 92svh; padding: 0; overflow: auto; color: var(--gift-ink); background: #191d16; border: 1px solid #c6ab7d38; box-shadow: 0 40px 140px #000a; }
.gift-dialog::backdrop { background: #080a07c9; backdrop-filter: blur(10px); }
.detail-close { position: absolute; z-index: 2; top: 20px; right: 20px; width: 42px; height: 42px; border: 1px solid #c6ab7d66; background: #1d221b; color: #e5d4b9; cursor: pointer; font-size: 1.5rem !important; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; }
.detail-photo { min-height: 660px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #18140f; }
.detail-photo .product-frame { width: 100%; }
.detail-copy { padding: 65px 45px 40px; }
.detail-copy h2 { font-size: 2.65rem; margin: 20px 0; }
.detail-copy > p:not(.gift-kicker) { color: var(--gift-muted); font-size: 1rem; line-height: 1.8; }
.detail-copy ul { padding: 10px 0 22px 18px; border-bottom: 1px solid var(--gift-border); color: #b0b6a7; font-size: .875rem; line-height: 2; }
.detail-copy label { display: block; min-width: 0; font-size: .875rem; margin-top: 18px; }
.detail-copy label span { color: #909b85; font-size: .75rem; }
.detail-copy input, .detail-copy select, .detail-copy textarea { width: 100%; max-width: 100%; min-height: 48px; background: #12170f; color: #e5e8df; border: 1px solid #a4b28f40; border-radius: 0; padding: 13px; font-size: 1rem; margin-top: 10px; color-scheme: dark; }
.detail-copy textarea { resize: vertical; }
.detail-copy input:focus, .detail-copy select:focus, .detail-copy textarea:focus { outline: 1px solid var(--gift-accent); border-color: var(--gift-accent); }
.detail-copy textarea::placeholder { color: #8d9685; }
.detail-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.detail-fields select { font-size: .875rem; }
.detail-price { font-size: .875rem; margin-top: 28px; color: var(--gift-accent); }
.detail-price span { display: block; color: var(--gift-muted); font-size: .75rem; margin-top: 5px; }
.detail-copy .gift-button { width: 100%; margin-top: 5px; }
.detail-note { font-size: .75rem; color: var(--gift-muted); line-height: 1.8; }
.original-art { display: inline-block; font-size: .75rem; color: #b7bea9; text-decoration: underline; text-underline-offset: 5px; margin-top: 15px; }
body:has(.gift-dialog[open]) { overflow: hidden; }

@media (max-width: 1100px) {
  .gifting-page .nav-links { gap: 18px; }
  .gifting-page .brand-lockup small { display: none; }
  .collection-count { display: none; }
  .collection-filters { gap: 24px; }
  .gift-hero { min-height: 800px; }
  .gift-hero h1 { font-size: 6rem; }
  .collection-heading { display: block; }
  .collection-heading > p { max-width: 500px; }
  .collection-heading > p br { display: none; }
  .story-copy { padding: 50px 10%; }
  .detail-copy { padding: 65px 30px 35px; }
  .detail-fields { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 800px) {
  .gift-width, .gift-promise { width: 90%; }
  .gift-hero-content { margin-left: 5%; }
  .gift-hero h1 { font-size: 5rem; }
  .gift-hero-shade { background: linear-gradient(90deg, #11120ff0, #11120f66 70%, transparent), linear-gradient(0deg, #121311, transparent 30%); }
  .gift-hero-content { max-width: 490px; }
  .hero-caption { right: 5%; max-width: 290px; }
  .hero-number { left: 5%; }
  .gift-promise { font-size: .75rem; gap: 12px; }
  .gift-collection { padding-top: 75px; }
  .product-grid { gap: 55px 5%; }
  .product-meta > span:last-child { display: none; }
  .product-meta { font-size: .75rem; letter-spacing: .02em; }
  .product-card h3 { font-size: 1.65rem; }
  .product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(2),
  .product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(4) { margin-top: 65px; }
  .product-bottom { display: block; }
  .product-bottom a { display: flex; margin-top: 10px; }
  .gift-story { min-height: 450px; }
  .story-visual { min-height: 450px; }
  .story-copy h2 { font-size: 2.4rem; }
  .gift-process, .gift-faq { gap: 7%; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-photo { min-height: 0; height: 350px; }
  .detail-photo .product-frame { max-width: 350px; }
  .detail-photo .editorial-frame { height: 100%; width: 100%; max-width: none; }
  .detail-photo .editorial-frame img { height: 100%; object-fit: contain; }
  .detail-photo .figurine-frame { height: auto; }
  .detail-photo .figurine-frame img { object-fit: cover; }
  .detail-copy { padding: 35px; }
  .detail-close { position: sticky; top: 15px; float: right; right: 15px; margin-bottom: -65px; }
  .detail-fields { grid-template-columns: 1fr 1fr; gap: 15px; }
}
@media (max-width: 560px) {
  .gifting-page .site-header { padding: 24px 5%; }
  .gifting-page .header-action { display: none; }
  .gifting-page .brand-lockup > span { font-size: 1rem; }
  .gifting-page .mobile-menu { left: 5%; right: 5%; grid-template-columns: 1fr 1fr; }
  .gift-hero { height: 900px; min-height: 0; max-height: none; }
  .gift-hero-content { padding-top: 135px; max-width: 90%; }
  .gift-hero-content .gift-kicker { font-size: .75rem; letter-spacing: .1em; gap: 12px; }
  .gift-kicker > span { width: 18px; }
  .gift-hero h1 { font-size: clamp(3.6rem, 15vw, 5rem); margin: 29px 0 25px; }
  .gift-hero-content > p:not(.gift-kicker) { font-size: 1rem; line-height: 1.7; max-width: 280px; margin: 22px 0; }
  .gift-hero-image { inset: 360px -65px 10px -150px; }
  .gift-hero-image > img { object-position: right center; }
  .gift-hero-shade { background: linear-gradient(180deg, #14130f 0%, #14130f 31%, #14130fa6 47%, transparent 68%, #121311 100%); }
  .hero-footnote { display: none; }
  .hero-caption { bottom: 33px; right: 5%; max-width: 260px; padding-right: 15px; }
  .hero-caption strong { font-size: 1rem; }
  .hero-caption > span { font-size: .75rem; }
  .hero-number { bottom: 35px; font-size: .75rem; }
  .gift-promise { flex-wrap: wrap; justify-content: center; padding: 24px 0; gap: 12px; font-size: .75rem; }
  .gift-promise i:nth-of-type(2) { display: none; }
  .gift-promise > span:last-child { width: 100%; text-align: center; }
  .gift-collection { padding: 65px 0; }
  .collection-heading h2 { font-size: 2.75rem; }
  .collection-toolbar { margin: 30px 0 35px; }
  .collection-filters { gap: 24px; }
  .product-grid { grid-template-columns: 1fr; gap: 48px; }
  .product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(2),
  .product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(4) { margin-top: 0; }
  .product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(5) .product-image { aspect-ratio: 1.4; }
  .product-grid:not(:has(.product-card[hidden])) .product-card:nth-child(5) h3 { font-size: 1.9rem; }
  .product-card h3 { font-size: 1.9rem; }
  .product-meta > span:last-child { display: inline; }
  .product-bottom { display: flex; margin-top: 20px; }
  .product-bottom a { margin-top: 0; }
  .product-index { top: 27px; left: 27px; }
  .gift-story { grid-template-columns: 1fr; margin-top: 10px; }
  .story-visual { height: 430px; min-height: 0; }
  .story-copy { padding: 45px 9%; }
  .story-copy h2 { font-size: 2.7rem; }
  .gift-process { grid-template-columns: 1fr; padding: 75px 0 60px; gap: 30px; }
  .gift-process h2 { font-size: 2.65rem; }
  .gift-faq { grid-template-columns: 1fr; gap: 15px; padding: 35px 0 70px; }
  .gift-faq h2 { font-size: 2.2rem; }
  .gift-dialog { width: 100%; max-width: none; max-height: 96svh; margin: auto 0 0; }
  .detail-photo { height: 300px; }
  .detail-copy { padding: 30px 24px; }
  .detail-copy h2 { font-size: 2.35rem; }
  .detail-fields { grid-template-columns: 1fr; gap: 0; }
  .gifting-page .footer { padding: 35px 5%; }
}
@media (prefers-reduced-motion: reduce) {
  .gifting-page *, .gifting-page *::after { transition: none !important; scroll-behavior: auto !important; }
}
