/* Icons must never inherit product-photo dimensions. Applies before and after emoji conversion. */
html body #jl-gift-module img.emoji,
html body #jl-gift-module img.wp-smiley,
html body #jl-gift-module .gift-image span img {
 display:inline-block!important;width:1em!important;height:1em!important;min-width:0!important;min-height:0!important;max-width:1em!important;max-height:1em!important;margin:0 .05em!important;padding:0!important;border:0!important;box-shadow:none!important;vertical-align:-.1em!important;position:static!important;object-fit:contain!important;transform:none!important;animation:none!important;
}
html body #jl-gift-module .gift-image > span {
 width:auto!important;height:auto!important;max-width:calc(100% - 20px)!important;min-height:0!important;line-height:1.4!important;
}
#jl-gift-module #jlgc-feature-art{margin:0 0 42px;padding:26px 0 32px;border-bottom:1px solid #cfdbde}
#jl-gift-module .jlgcdf-heading p{font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:800}
#jl-gift-module .jlgcdf-art-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
#jl-gift-module .jlgcdf-art-grid article{background:white;padding:20px;border:1px solid #cfdbde}
#jl-gift-module .jlgcdf-art-link{display:flex;align-items:center;justify-content:center;background:#faf8f6;min-height:460px}
#jl-gift-module .jlgcdf-art-link>img{display:block!important;width:100%!important;height:620px!important;max-height:none!important;object-fit:contain!important;position:static!important;transform:none!important}
#jl-gift-module .jlgcdf-art-grid h3{margin:20px 0 16px!important}
@media(max-width:700px){#jl-gift-module .jlgcdf-art-grid{grid-template-columns:1fr}#jl-gift-module .jlgcdf-art-link{min-height:0}#jl-gift-module .jlgcdf-art-link>img{height:auto!important;max-height:680px!important}}
/* Mobile refinement: 320–700px, scoped to the gift collection. */
@media(max-width:700px){
 html body #jl-gift-module{padding:30px 16px!important;overflow-wrap:anywhere}
 html body #jl-gift-module .gift-heading{gap:12px!important;margin-bottom:18px!important}
 html body #jl-gift-module h2{font-size:clamp(28px,8vw,38px)!important;line-height:1.16!important;margin-bottom:14px!important}
 html body #jl-gift-module .gift-heading p{font-size:16px!important;line-height:1.55!important}
 html body #jl-gift-module .gift-eyebrow{font-size:11px!important;letter-spacing:.09em!important}
 html body #jl-gift-module .gift-grid{gap:18px!important}
 html body #jl-gift-module .gift-image>img:not(.emoji):not(.wp-smiley){height:clamp(260px,90vw,390px)!important;width:100%!important;object-fit:contain!important}
 html body #jl-gift-module .gift-card-copy{padding:16px!important}
 html body #jl-gift-module h3{font-size:20px!important}
 html body #jl-gift-module .gift-primary,html body #jl-gift-module .gift-inquire{width:100%!important;min-height:46px!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere;padding:12px 14px!important}
 html body #jl-gift-module #jlgc-feature-art{padding:14px 0 24px!important;margin-bottom:24px!important}
 html body #jl-gift-module .jlgcdf-art-grid{gap:18px!important}
 html body #jl-gift-module .jlgcdf-art-grid article{padding:12px!important}
 html body #jl-gift-module .jlgcdf-art-link>img{height:auto!important;max-height:none!important;object-fit:contain!important}
 html body #jl-gift-module .gift-filters{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;gap:8px!important;padding:10px 0 14px!important;scrollbar-width:thin;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 html body #jl-gift-module .gift-filters button{flex:0 0 auto!important;min-height:44px!important;white-space:nowrap!important;font-size:14px!important}
 html body #jl-gift-module .gift-toolbar{gap:12px!important;margin:16px 0!important}
 html body #jl-gift-module .gift-toolbar input{min-width:0!important;width:100%!important}
 html body #jl-gift-module .gift-toolbar label{width:100%!important}
 html body #jl-gift-module .gift-pagination{gap:8px!important;justify-content:space-between!important}
 html body #jl-gift-module .gift-pagination button{min-height:44px!important;padding:10px!important;font-size:14px!important}
 html body #jl-gift-module #gift-page{font-size:13px!important;white-space:nowrap!important}
 html body #jl-gift-module dialog{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:88vh!important;max-height:88dvh!important;padding:18px!important;overscroll-behavior:contain}
 html body #jl-gift-module dialog h2{font-size:26px!important}
 html body #jl-gift-module dialog input,html body #jl-gift-module dialog textarea{font-size:16px!important;min-width:0!important;max-width:100%!important}
 html body #jl-gift-module .gift-close{width:44px!important;height:44px!important;position:sticky!important;top:0!important;float:right;z-index:2}
 html body #jl-gift-module .gift-custom{margin-top:28px!important;padding-top:28px!important;gap:24px!important}
 html body #jl-gift-module #gift-full-image{max-height:60vh!important;max-height:60dvh!important}
}
