body:has(dialog[open]){overflow:hidden}
#gift-filters,#image-viewer{padding:0;border:0;border-radius:0;max-width:none;max-height:none;color:var(--ink);background:#fff;box-shadow:0 18px 80px #34122225}
#gift-filters::backdrop,#image-viewer::backdrop{background:#26161dc4;backdrop-filter:blur(3px)}
#gift-filters{margin:0 0 0 auto;width:min(480px,100%);height:100dvh}
.drawer-form{display:flex;flex-direction:column;height:100%;min-height:0}
.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:28px 26px 22px;border-bottom:1px solid #eadde1}
.drawer-header .eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:10px}
.drawer-header h2{font-size:28px;letter-spacing:-.02em;margin:0}
.drawer-header .icon-btn,.viewer-header .icon-btn{flex-shrink:0;width:44px;height:44px;border:1px solid #eadde1;border-radius:50%}
.drawer-body{padding:0 26px;overflow-y:auto;overscroll-behavior:contain;flex:1}
.drawer-body fieldset{padding:24px 0;margin:0;border:0;border-bottom:1px solid #eadde1;min-width:0}
.drawer-body legend{float:left;width:100%;font-weight:700;font-size:16px;margin:0 0 14px;padding:0}
.drawer-body legend+*{clear:both}
.drawer-body input,.drawer-body select{accent-color:#bf153e}
.drawer-body select,.drawer-body input[type=search]{display:block;width:100%;height:46px;padding:0 12px;border:1px solid #d5c6cb;border-radius:0;background:#fff;font:inherit;font-size:16px}
.drawer-body label[for=drawer-budget]{display:block;margin-bottom:8px}
.filter-category-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.filter-category-grid label{position:relative;cursor:pointer}
.filter-category-grid input{position:absolute;opacity:0;width:1px;height:1px}
.filter-category-grid span{display:flex;align-items:center;min-height:46px;border:1px solid #ded1d6;padding:10px;font-size:13px}
.filter-category-grid input:checked+span{color:#af1237;background:#fff0f4;border-color:#bf153e}
.filter-category-grid input:focus-visible+span{outline:2px solid #bf153e;outline-offset:3px}
.drawer-brands{max-height:215px;overflow-y:auto;margin-top:12px;scrollbar-width:thin}
.drawer-check{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px;cursor:pointer}
.drawer-check input{width:17px;height:17px;flex-shrink:0}
.drawer-check[hidden]{display:none}
.drawer-footer{margin:0;padding:17px 26px max(20px,env(safe-area-inset-bottom));border-top:1px solid #eadde1;background:#fff;box-shadow:0 -8px 24px #34122206}
.drawer-footer>span{display:block;margin-bottom:13px;font-size:12px;line-height:1.5}
.drawer-footer>div{display:flex;justify-content:space-between;align-items:center;gap:20px}
.drawer-footer .button{min-width:190px;min-height:48px}
.product-image-open{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.product-image-open img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;padding:40px}
.product-image-open>span{position:absolute;bottom:18px;left:18px;display:flex;align-items:center;gap:7px;background:#fff;padding:9px 12px;border:1px solid #e8dce1;font-size:12px;color:#34222a}
.main-product-image .save-btn{z-index:1}
#image-viewer{width:min(1100px,calc(100vw - 48px));height:min(900px,calc(100dvh - 48px));margin:auto}
#image-viewer[open]{display:flex;flex-direction:column}
.viewer-header{display:flex;justify-content:space-between;gap:20px;padding:20px 24px;align-items:center;flex-shrink:0}
.viewer-header>div{min-width:0}
.viewer-header .eyebrow{font-size:11px;margin:0 0 6px}
.viewer-header h2{font-size:23px;margin:0;letter-spacing:-.02em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.image-viewport{display:flex;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px}
.image-viewport img{display:block;flex:none;max-width:none;max-height:none;margin:auto;object-fit:contain;mix-blend-mode:multiply}
.viewer-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;font-size:12px;flex-shrink:0}
.brand-collection{padding:30px 0 10px}
.brand-collection-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.brand-collection-heading .eyebrow{font-size:11px;margin-bottom:9px}
.brand-collection-heading h2{margin:0;font-size:36px;letter-spacing:-.02em;scroll-margin-top:25px}
.brand-shop-controls{display:flex;flex-wrap:wrap;align-items:end;gap:16px;padding:22px;background:#faf6f8;border:1px solid #eadde1;margin-bottom:28px}
.brand-shop-controls>label:not(.store-stock){display:flex;flex-direction:column;gap:8px;font-size:12px}
.brand-shop-controls .store-search{flex:1;min-width:210px}
.store-search>div{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #d5c6cb;padding:0 12px}
.store-search input{border:0;outline:0;width:100%;min-width:0;background:transparent;height:44px;font:inherit;font-size:14px}
.store-search>div:focus-within{outline:2px solid #bf153e;outline-offset:2px}
.brand-shop-controls select{height:46px;padding:0 30px 0 12px;border:1px solid #d5c6cb;border-radius:0;background:#fff;font:inherit;font-size:14px}
.store-stock{display:flex;align-items:center;gap:8px;height:46px;font-size:13px;white-space:nowrap}
.store-stock input{width:17px;height:17px;accent-color:#bf153e}
.brand-shop-controls .button{height:46px;font-size:13px;white-space:nowrap}
.store-applied{display:flex;justify-content:space-between;gap:20px;font-size:13px;padding:0 0 25px}
.store-empty{padding:50px 20px;text-align:center;border:1px solid #eadde1;background:#fffbfc}
.store-empty h3{font-size:29px;letter-spacing:-.02em;margin:10px 0}
.store-empty p{font-size:14px;line-height:1.7}.store-empty .button{margin-top:14px}
@media(max-width:760px){
  .filters{display:none!important}
  .product-image-open img{padding:28px}
  .product-image-open>span{bottom:12px;left:12px}
  #image-viewer{width:100%;height:100dvh;margin:0}
  .viewer-header{padding:18px}.viewer-header h2{font-size:21px}.viewer-footer{padding:14px 18px max(16px,env(safe-area-inset-bottom));gap:12px}
  .brand-collection{padding-top:15px}.brand-collection-heading{align-items:start;flex-direction:column;gap:12px}.brand-collection-heading h2{font-size:29px}
  .brand-shop-controls{display:grid;grid-template-columns:1fr 1fr;padding:16px;gap:14px 10px}.brand-shop-controls .store-search{grid-column:1/-1;min-width:0}.brand-shop-controls select{width:100%;min-width:0;font-size:13px;padding-left:8px;padding-right:20px}.store-search input{font-size:16px}
  .brand-shop-controls .button{padding:10px;font-size:13px;gap:7px}.store-stock{font-size:12px}.store-empty{padding:30px 16px}.store-empty .button{font-size:13px}
}

/* A shared storefront with three clear delivery contexts. */
.shopping-intent{padding:22px 0;border-bottom:1px solid var(--line)}
.destination-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.destination-choices>button{display:flex;align-items:center;gap:15px;text-align:left;padding:12px 26px;border:0;border-right:1px solid var(--line);background:transparent;min-height:74px}
.destination-choices>button:first-child{padding-left:0}.destination-choices>button:last-child{border-right:0}
.destination-choices>button>svg:first-child{color:var(--red);flex-shrink:0}
.destination-choices>button>svg:last-child{margin-left:auto;flex-shrink:0}
.destination-choices strong,.recipient-other-options strong{display:block;font-size:16px;font-weight:600}
.destination-choices small,.recipient-other-options small{display:block;font-size:14px;color:#73676d;margin-top:4px}
.destination-choices button:hover strong,.recipient-other-options button:hover strong{color:var(--red)}
.intent-selected,.purchase-destination{display:flex;align-items:center;justify-content:space-between;gap:20px}
.intent-selected p{margin:5px 0 0;color:var(--muted);font-size:14px}.intent-selected strong{font-weight:500}
.purchase-destination strong{display:block;font-size:18px;margin-top:4px}.purchase-destination+.small{margin-bottom:0}
.recipient-other-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 26px}
.recipient-other-options>button{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #ddcbd3;border-radius:5px;background:#fff;text-align:left;min-height:86px}
.recipient-other-options svg{color:var(--red);flex-shrink:0}.recipient-picker-label{font-size:18px;margin:0 0 7px}.recipient-option:disabled{opacity:.55;cursor:not-allowed}
.cost-undecided{padding:16px 0}.cost-undecided span,.cost-undecided small{display:block}.cost-undecided small{color:var(--muted);margin-top:5px;font-size:14px}
.finder-heading{padding:10px 0 24px}.finder-heading h1{font-size:36px;line-height:1.15;margin:0 0 12px}.finder-heading p{font-size:16px}
.finder-form{padding:22px;background:#faf4f6;border:1px solid #ecdee4;border-radius:6px;gap:18px}
.finder-form .field{margin:0;font-size:14px}.finder-form select,.finder-recipient{font-size:16px;min-height:48px;background:#fff}
.finder-result-heading{padding:24px 0 18px;align-items:center}.finder-result-heading h2{font-size:25px}.finder-result-heading p{font-size:14px;max-width:none;line-height:1.6}
.finder-scope{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.finder-scope p{font-size:14px;color:var(--muted);margin:5px 0 0}.finder-scope .check-inline{flex-shrink:0;font-size:14px}
.checkout-block .field{font-size:14px}.checkout-block input,.checkout-block textarea{font-size:16px}.checkout-block input:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.market-hero-copy h1{font-size:43px}.market-hero-copy h1 em{font-size:1.1em}
@media(max-width:1100px){.destination-choices>button{padding:10px 16px}.destination-choices small{max-width:180px}.finder-form{grid-template-columns:1fr 1fr}.finder-form .button{align-self:end;min-height:48px}.market-hero-copy h1{font-size:36px}}
@media(max-width:760px){
 .shopping-intent{padding:8px 0 12px}.destination-choices{grid-template-columns:1fr}
 .destination-choices>button,.destination-choices>button:first-child{padding:13px 0;min-height:74px;border-right:0;border-bottom:1px solid #f0e7eb}
 .destination-choices>button:last-child{border-bottom:0}.destination-choices small{max-width:none}
 .recipient-other-options{grid-template-columns:1fr;gap:8px;margin:17px 0 22px}.recipient-other-options>button{min-height:72px;padding:12px}
 .recipient-other-options small{font-size:14px}.recipient-status{max-width:78px;line-height:1.4;font-size:12px}
 .finder-heading{padding:6px 0 20px}.finder-heading h1{font-size:29px;max-width:330px}.finder-heading p{font-size:15px;line-height:1.6}
 .finder-form{padding:16px;gap:14px 12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .finder-form>.field:first-child{grid-column:1/-1}.finder-form select{width:100%;padding-left:9px;padding-right:22px;font-size:16px;min-width:0}.finder-form>.field{min-width:0}.finder-form>.button{grid-column:1/-1}
 .finder-scope{align-items:flex-start;flex-direction:column;gap:12px}.finder-scope p{line-height:1.5}.finder-result-heading h2{font-size:23px}
 .intent-selected{padding:13px 0}.purchase-destination{gap:12px}.purchase-destination strong{font-size:17px}
 .market-hero-copy h1{font-size:33px}.market-hero-copy h1 em{font-size:1.06em}.market-hero-copy>p:not(.eyebrow){font-size:14px}
 .bag-recipient{flex-wrap:wrap}.bag-recipient>div{min-width:0;flex:1}.bag-recipient strong small{display:block}
}
.recipient-avatar{display:inline-flex;align-items:center;justify-content:center;background:#f8e8ee;color:var(--red);flex-shrink:0}
.wishlist-heading>.text-button{min-height:44px;font-size:14px}
@media(max-width:760px){
 .shopping-intent .destination-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
 .shopping-intent .destination-choices>button,.shopping-intent .destination-choices>button:first-child{flex-direction:column;justify-content:flex-start;gap:8px;text-align:center;padding:12px 8px;border-bottom:0;border-right:1px solid var(--line);min-height:90px}
 .shopping-intent .destination-choices>button:last-child{border-right:0}.shopping-intent .destination-choices strong{font-size:14px;line-height:1.4}.shopping-intent .destination-choices small,.shopping-intent .destination-choices>button>svg:last-child{display:none}
 .wishlist-heading{flex-wrap:wrap}.wishlist-heading>.text-button{font-size:14px}
}
.gift-note-disclosure{border-top:1px solid var(--line);margin-top:14px}.gift-note-disclosure>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:14px;cursor:pointer;list-style:none}.gift-note-disclosure>summary::-webkit-details-marker{display:none}.gift-note-disclosure[open]>summary svg{transform:rotate(180deg)}.gift-note-disclosure .gift-note-preview{margin-top:0}
@media(max-width:760px){
 .checkout-summary{padding:18px}.checkout-summary h2{font-size:19px;margin:0 0 12px}.checkout-summary .summary-row{padding:5px 0;font-size:14px}.checkout-summary .summary-row small{font-size:12px}.checkout-summary .summary-row.total{padding:12px 0;margin-top:8px}.checkout-summary>.small{font-size:12px;line-height:1.5;margin:9px 0 0}.checkout-summary .summary-privacy,.checkout-summary>.sample-callout{display:none}
 .checkout-block:first-child>.form-grid:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
}
