/* Loaded after the legacy bundle so old Phase 1 flex rules cannot escape the form column. */
html:has(.gift-card-page),body:has(.gift-card-page){overflow-x:clip;overflow-y:visible}.gift-card-page{overflow:visible}.gift-card-page .gift-builder__panel{overflow:visible}
.gift-card-page .service-container{width:min(calc(100% - 48px),1200px);max-width:1200px}.gift-builder{padding:48px 0 40px}.gift-builder__heading{max-width:none;margin:0 0 24px}.gift-builder__heading ol{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));max-width:900px;margin:28px 0 0}.gift-builder__heading ol:before{content:"";position:absolute;top:17px;right:8.33%;left:8.33%;height:1px;background:#d7d0c5}.gift-builder__heading li{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px;align-items:center;font-size:12px}.gift-builder__heading li:not(:last-child):after{display:none}.gift-builder__heading li span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f8f4ed;border:1px solid #cfc6ba}.gift-builder__heading li b{font-weight:500}.gift-builder__heading li.is-active span{background:var(--forest);border-color:var(--forest);color:#fff}.gift-builder__panel{padding:clamp(28px,3.2vw,42px);background:#fffdf9;border:1px solid #ddd5c9;border-radius:14px;box-shadow:0 16px 44px rgba(32,49,41,.055);overflow:hidden}.gift-builder__grid{display:grid;grid-template-columns:minmax(0,40fr) minmax(0,60fr);gap:clamp(40px,4vw,56px);width:100%;direction:ltr}.gift-builder__grid>*{direction:rtl;min-width:0}.gift-builder__form{display:block;min-width:0;width:100%;overflow:hidden}.gift-builder-step{padding:36px 0;border-top:1px solid #e5ded4}.gift-builder-step:first-child{padding-top:0;border-top:0}.gift-builder-step>header>span{width:36px;height:36px;font-size:14px}.gift-builder-step h3{font-size:24px}.gift-builder__preview-column{position:sticky;top:108px;align-self:start;min-width:0;padding:18px;background:#f4efe7;border:1px solid #ddd4c8;border-radius:10px}.gift-preview{width:100%;max-width:100%;margin:0}.gift-preview__card{width:100%;max-width:100%;min-height:0;aspect-ratio:1.42/1;border-radius:7px}.gift-preview__back blockquote{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.gift-design-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:12px}.gift-design-tabs button{flex:none;min-height:40px;padding:7px 13px;border:1px solid #d7cfc3;border-radius:999px;background:#fff;color:var(--muted)}.gift-design-tabs button.is-active{background:var(--forest);border-color:var(--forest);color:#fff}.gift-designs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;max-width:100%;overflow:visible;padding:0;margin:0}.gift-design{position:relative;display:block;flex:none;min-width:0;width:100%;max-width:100%;min-height:0;padding:7px}.gift-design__art{width:100%;height:auto;aspect-ratio:1.45/1}.gift-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.gift-recipient-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.gift-recipient-grid .is-wide{grid-column:1/-1}.gift-field{font-size:14px;gap:8px}.gift-field input,.gift-field textarea{min-height:50px}.gift-suggestions>div{display:flex;flex-wrap:wrap;gap:8px}.gift-suggestions button{width:auto;min-height:40px;padding:7px 12px;border-radius:999px}.gift-delivery-types{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gift-order-summary{padding:26px;border-radius:8px}.gift-order-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.gift-order-summary .is-total{grid-column:1/-1;border-top:2px solid var(--forest)}.gift-summary-action{display:grid;gap:8px;margin-top:20px}.gift-summary-action .button{width:100%;min-height:56px}.gift-mobile-buy{display:none}
@media(max-width:1100px) and (min-width:901px){.gift-builder__grid{grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:36px}.gift-designs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.gift-card-page .service-container{width:calc(100% - 40px)}.gift-builder__panel{padding:24px}.gift-builder__grid{grid-template-columns:minmax(0,1fr);gap:30px}.gift-builder__preview-column{position:relative;top:auto;grid-row:1;width:100%;max-width:650px;margin-inline:auto}.gift-builder__form{grid-row:2}.gift-designs{display:flex;width:100%;gap:12px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x mandatory}.gift-design{flex:0 0 145px;width:145px;scroll-snap-align:start}.gift-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.gift-recipient-grid,.gift-field-grid{grid-template-columns:1fr}.gift-recipient-grid .is-wide{grid-column:auto}}
@media(max-width:600px){.gift-card-page .service-container{width:calc(100% - 32px)}.gift-builder{padding:32px 0 94px}.gift-builder__panel{padding:18px 16px}.gift-builder__heading li span{width:29px;height:29px}.gift-builder__heading ol:before{top:14px}.gift-builder__heading li b{font-size:10px}.gift-builder__preview-column{padding:12px}.gift-builder-step{padding:30px 0}.gift-builder-step h3{font-size:21px}.gift-designs{margin-inline:-16px;width:calc(100% + 32px);padding-inline:16px}.gift-design{flex-basis:136px;width:136px}.gift-delivery-types{grid-template-columns:1fr}.gift-order-summary{padding:20px}.gift-order-summary dl{grid-template-columns:1fr}.gift-order-summary .is-total{grid-column:auto}.gift-mobile-buy{position:fixed;z-index:500;display:flex;right:0;left:0;bottom:0;min-height:72px;padding:9px 16px calc(9px + env(safe-area-inset-bottom));background:#fffdf9;border-top:1px solid #d8d0c5;align-items:center;justify-content:space-between}}
