/* Scoped collection layer; accepted PLUS/Workwear styles stay byte-identical. */
.plus-collection :where(h1,h2,h3,legend,label,button,a) { overflow-wrap:anywhere; }
.gift-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; font-size:11px; color:var(--muted); padding-block:20px; }
.gift-breadcrumb a { text-decoration:underline; text-underline-offset:4px; }
.gift-intro { background:var(--porcelain); border:1px solid var(--line); display:grid; grid-template-columns:minmax(0,1fr) 348px; position:relative; }
.gift-intro-copy { padding:30px 38px; align-self:center; min-width:0; }
.gift-intro .eyebrow,.gift-section-head .eyebrow { color:var(--rose-ink); font-size:10px; letter-spacing:.13em; margin-bottom:13px; text-transform:uppercase; }
.gift-intro h1 { font-size:45px; line-height:1.14; }
.gift-intro-copy>p:last-child { font-size:14px; line-height:1.7; max-width:560px; margin-top:14px; }
.gift-intro>picture { display:block; }
.gift-intro img { width:100%; height:auto; aspect-ratio:1.5; display:block; }
.gift-intro>small { position:absolute; right:10px; bottom:8px; font-size:9px; color:#fff; background:#36212dd9; padding:4px 6px; }
.gift-category-nav { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding-block:22px; }
.gift-category-nav a { display:flex; justify-content:center; align-items:center; min-height:44px; padding:10px 17px; border:1px solid var(--line); font-size:13px; line-height:1.5; text-align:center; }
.gift-category-nav a[aria-current] { color:white; background:var(--mulberry); border-color:var(--mulberry); }
.gift-category-nav a:hover { border-color:var(--rose-ink); }
.gift-results-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; padding-block:13px 21px; border-bottom:1px solid var(--line); }
.gift-results-heading h2 { font-size:27px; line-height:1.3; }
.gift-results-heading h2:focus { outline:none; }
.gift-results-heading p:not(.gift-result-count) { font-size:11px; line-height:1.6; color:var(--muted); margin-top:7px; }
.gift-result-count { font-size:13px; flex:none; padding-bottom:3px; }
.gift-browse-layout { display:grid; grid-template-columns:214px minmax(0,1fr); gap:34px; padding-top:21px; }
.gift-desktop-filters { min-width:0; }
.gift-sidebar-head { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:48px; }
.gift-sidebar-head h3 { font-size:13px; }
.gift-sidebar-head .text-link { min-height:44px; font-size:11px; }
.gift-facet { min-width:0; margin:0 0 21px; padding:17px 0 0; border:0; border-top:1px solid var(--line); }
.gift-facet legend { padding-right:9px; font-size:13px; font-weight:600; line-height:1.6; }
.gift-filter-option { display:flex; align-items:center; gap:10px; min-height:44px; padding-block:5px; cursor:pointer; font-size:12px; line-height:1.6; }
.gift-filter-option input { width:17px; height:17px; margin:0; accent-color:var(--mulberry); flex:none; }
.gift-filter-option>span { min-width:0; flex:1; }
.gift-filter-option small { flex:none; font-size:11px; color:var(--muted); }
.gift-filter-option:has(input:disabled) { color:var(--muted); cursor:default; }
.gift-filter-option:has(input:focus-visible) { outline:2px solid var(--rose-ink); outline-offset:2px; }
.gift-filter-note { font-size:11px; color:var(--muted); line-height:1.7; }
.gift-results-main { min-width:0; }
.gift-toolbar { display:flex; align-items:center; justify-content:end; gap:16px; margin-bottom:21px; min-height:48px; }
.gift-sort { display:flex; align-items:center; gap:11px; font-size:12px; min-width:0; }
.gift-sort select { max-width:100%; border:1px solid var(--line); border-radius:0; min-height:44px; color:var(--ink); background:white; padding:10px 32px 10px 12px; font:inherit; }
.gift-filter-button { display:none; border:1px solid var(--line); align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 13px; font-size:12px; }
.gift-filter-button .icon { width:17px; height:17px; }
.gift-active-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin-bottom:20px; }
#collection-active { display:flex; flex-wrap:wrap; gap:8px; min-width:0; }
#collection-active button { display:flex; align-items:center; gap:8px; min-height:44px; padding:8px 12px; border:1px solid var(--line); background:var(--porcelain); max-width:100%; font-size:11px; line-height:1.5; text-align:left; }
#collection-active .icon { width:14px; height:14px; flex:none; }
.gift-active-row>.text-link { font-size:11px; min-height:44px; }
.gift-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px 22px; }
.gift-product-grid .plus-product { min-width:0; }
.gift-product-grid .plus-product h3 { min-height:0; font-size:15px; line-height:1.5; }
.gift-card-finish { font-size:11px; line-height:1.6; margin-top:5px; color:var(--muted); }
.gift-product-grid .plus-price { margin-top:10px; }
.gift-product-grid .plus-card-link { margin-top:2px; }
.gift-grid-note { font-size:11px; color:var(--muted); line-height:1.7; margin-top:26px; }
.gift-empty { background:var(--porcelain); border:1px solid var(--line); text-align:center; padding:50px 25px; }
.gift-empty .eyebrow { font-size:10px; color:var(--rose-ink); text-transform:uppercase; letter-spacing:.1em; }
.gift-empty h3 { font-family:Caslon,Georgia,serif; font-size:29px; font-weight:400; line-height:1.3; margin-top:13px; }
.gift-empty p:not(.eyebrow) { font-size:14px; line-height:1.6; margin-top:14px; }
.gift-empty .button { margin-top:22px; font-size:13px; }
.gift-editorial { margin-block:48px; display:grid; grid-template-columns:1fr 1fr; background:var(--mulberry); color:white; }
.gift-editorial-photo { background: url('assets/occasion-atlas.png') left bottom/200% 200% no-repeat; aspect-ratio:1.4; }
.gift-editorial>div:last-child { display:flex; flex-direction:column; justify-content:center; align-items:start; padding:38px 42px; }
.gift-editorial .eyebrow { font-size:10px; text-transform:uppercase; color:#f0cdd8; letter-spacing:.12em; }
.gift-editorial h2 { font-size:38px; line-height:1.12; margin-top:14px; max-width:400px; }
.gift-editorial p:not(.eyebrow) { font-size:14px; line-height:1.8; color:#f3e3ec; margin-top:17px; }
.gift-editorial .button { margin-top:23px; font-size:12px; }
.gift-editorial .text-link { margin-top:8px; min-height:44px; font-size:12px; }
.gift-editorial :focus-visible { outline-color:var(--rose); }
.gift-choosing { margin-bottom:48px; }
.gift-section-head h2 { font-size:34px; line-height:1.2; }
.gift-advice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:33px; margin-top:27px; }
.gift-advice-grid article { min-width:0; border-top:1px solid var(--line); padding-top:21px; }
.gift-advice-grid article>span { color:var(--rose-ink); font-family:Caslon,Georgia,serif; font-size:26px; }
.gift-advice-grid h3 { font-size:14px; line-height:1.5; margin-top:15px; }
.gift-advice-grid p { font-size:13px; line-height:1.8; color:var(--muted); margin-top:9px; }
.gift-collection-faq { display:grid; grid-template-columns:1fr 2fr; gap:33px; margin-top:36px; padding-top:30px; border-top:1px solid var(--line); }
.gift-collection-faq>h3 { font-family:Caslon,Georgia,serif; font-size:28px; line-height:1.2; font-weight:400; }
.gift-filter-dialog { margin:auto 0 0 auto; width:min(450px,100%); max-width:100%; height:100dvh; max-height:100dvh; padding:0; border:0; color:var(--ink); background:white; }
.gift-filter-dialog::backdrop { background:#21151baa; }
.gift-filter-dialog form { display:flex; flex-direction:column; height:100%; min-height:0; }
.gift-filter-head { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:25px 24px 21px; border-bottom:1px solid var(--line); flex:none; }
.gift-filter-head>div { min-width:0; }
.gift-filter-head h2 { font-size:30px; line-height:1.2; }
.gift-filter-head .eyebrow { font-size:10px; color:var(--rose-ink); margin-bottom:9px; }
.gift-filter-head .icon-button { flex:none; }
.gift-filter-scroll { overflow:auto; overscroll-behavior:contain; padding:27px 24px; flex:1; min-height:0; }
.gift-filter-scroll .gift-filter-option { font-size:14px; }
.gift-filter-scroll .gift-facet { margin-bottom:28px; }
.gift-filter-actions { border-top:1px solid var(--line); background:var(--porcelain); padding:15px 24px calc(15px + env(safe-area-inset-bottom)); display:flex; align-items:center; gap:18px; flex-wrap:wrap; flex:none; }
.gift-filter-actions .text-link { font-size:12px; min-height:44px; }
.gift-filter-actions .button { flex:1; min-width:130px; font-size:13px; }
.plus-collection :where(input,select,button,a,summary) { scroll-margin-top:16px; }
@media(min-width:901px) {
 .plus-collection .header-grid.collection-header-reflow { grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto auto auto; gap:16px 24px; }
 .plus-collection .collection-header-reflow>.brand { grid-column:1; grid-row:1; width:max-content; }
 .plus-collection .collection-header-reflow .header-trailing { grid-column:2; grid-row:1; justify-self:end; display:flex; align-items:center; gap:20px; min-width:0; }
 .plus-collection .collection-header-reflow .header-cta { width:auto; min-width:0; }
 .plus-collection .collection-header-reflow .header-cta>a { width:100%; min-width:0; flex-wrap:wrap; }
 .plus-collection .collection-header-reflow .desktop-nav { grid-column:1/3; grid-row:2; flex-wrap:wrap; justify-content:start; gap:10px 24px; }
 .plus-collection .collection-header-reflow .search { grid-column:1/3; grid-row:3; }
}
@media(max-width:1199px) {
 .gift-intro { grid-template-columns:minmax(0,1fr) 300px; }
 .gift-intro-copy { padding:26px; }
 .gift-intro h1 { font-size:39px; }
 .gift-browse-layout { grid-template-columns:196px minmax(0,1fr); gap:25px; }
 .gift-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 18px; }
 .gift-editorial h2 { font-size:33px; }
 .gift-editorial>div:last-child { padding:30px; }
}
@media(max-width:900px) {
 .gift-intro { grid-template-columns:1fr; }
 .gift-intro>picture,.gift-intro>small { display:none; }
 .gift-intro-copy { padding:26px 28px; }
 .gift-browse-layout { display:block; }
 .gift-desktop-filters { display:none; }
 .gift-toolbar { justify-content:space-between; }
 .gift-filter-button { display:flex; }
 .gift-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px 18px; }
 .gift-editorial>div:last-child { padding:27px; }
 .gift-editorial h2 { font-size:30px; }
 .gift-editorial .button { padding-inline:16px; }
}
@media(max-width:700px) {
 .gift-breadcrumb { padding-block:17px; font-size:10px; }
 .gift-intro-copy { padding:22px 20px 24px; }
 .gift-intro h1 { font-size:34px; }
 .gift-intro-copy>p:last-child { font-size:13px; line-height:1.7; margin-top:11px; }
 .gift-intro .eyebrow { margin-bottom:10px; font-size:9px; }
 .gift-category-nav { flex-wrap:nowrap; overflow:auto; overscroll-behavior-inline:contain; scrollbar-width:thin; padding-block:17px 20px; gap:8px; }
 .gift-category-nav a { flex:none; max-width:100%; font-size:12px; padding:10px 13px; }
 .gift-category-nav a:focus-visible { outline-offset:-3px; }
 .gift-results-heading { align-items:center; padding-block:5px 16px; gap:13px; }
 .gift-results-heading h2 { font-size:24px; }
 .gift-results-heading p:not(.gift-result-count) { font-size:10px; max-width:255px; }
 .gift-result-count { font-size:12px; }
 .gift-browse-layout { padding-top:16px; }
 .gift-toolbar { gap:10px; margin-bottom:19px; }
 .gift-sort { font-size:11px; gap:8px; }
 .gift-sort>span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .gift-sort select { width:180px; font-size:12px; padding-inline:11px 28px; }
 .gift-filter-button { font-size:12px; }
 .gift-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 14px; }
 .gift-product-grid .plus-product h3 { font-size:14px; }
 .gift-product-grid .plus-product-copy { padding-top:10px; }
 .gift-card-finish { min-height:3.2em; font-size:11px; }
 .gift-product-grid .plus-price { font-size:20px; margin-top:7px; }
 .gift-product-grid .plus-price-note { font-size:10px; }
 .gift-grid-note { font-size:10px; margin-top:19px; }
 .gift-editorial { margin-block:32px; grid-template-columns:1fr; }
 .gift-editorial-photo { aspect-ratio:1.3; }
 .gift-editorial>div:last-child { padding:29px 24px; }
 .gift-editorial h2 { font-size:34px; }
 .gift-editorial p:not(.eyebrow) { font-size:13px; }
 .gift-editorial .button { width:100%; }
 .gift-choosing { margin-bottom:34px; }
 .gift-section-head h2 { font-size:30px; }
 .gift-advice-grid { grid-template-columns:1fr; gap:23px; margin-top:23px; }
 .gift-advice-grid article { display:grid; grid-template-columns:38px minmax(0,1fr); column-gap:14px; padding-top:19px; }
 .gift-advice-grid article>span { grid-row:1/3; font-size:26px; }
 .gift-advice-grid h3 { margin-top:0; }
 .gift-advice-grid p { font-size:12px; grid-column:2; margin-top:7px; }
 .gift-collection-faq { display:block; margin-top:29px; padding-top:25px; }
 .gift-collection-faq>h3 { font-size:27px; margin-bottom:18px; }
}
@media(max-width:374px) {
 .gift-intro h1 { font-size:31px; }
 .gift-intro-copy { padding-inline:17px; }
 .gift-sort select { width:166px; }
 .gift-toolbar { gap:8px; }
 .gift-filter-button { padding-inline:10px; }
}
@media(max-width:320px) {
 .gift-category-nav { flex-wrap:wrap; overflow:visible; }
 .gift-category-nav a { flex:1 1 100%; }
 .gift-toolbar { flex-wrap:wrap; }
 .gift-sort,.gift-sort select,.gift-filter-button { width:100%; }
 .gift-results-heading { flex-wrap:wrap; }
 .gift-product-grid { grid-template-columns:1fr; }
 .gift-card-finish { min-height:0; }
 .gift-filter-head { align-items:start; padding:18px 16px; }
 .gift-filter-head h2 { font-size:25px; }
 .gift-filter-scroll { padding:20px 16px; }
 .gift-filter-actions { padding-inline:16px; gap:8px; }
 .gift-filter-actions .button { flex-basis:100%; min-width:0; }
 .plus-collection .mobile-menu { max-width:100%; }
 .plus-collection .mobile-menu>.work-switch { white-space:normal; flex-wrap:wrap; }
 .plus-collection .mobile-menu .menu-account-links { grid-template-columns:1fr; }
 .plus-collection .plus-detail-dialog { padding:16px; }
 .plus-collection .plus-dialog-head { flex-wrap:wrap; }
 .plus-collection .plus-dialog-head .eyebrow { max-width:calc(100% - 60px); }
 .plus-collection .gift-filter-head { display:grid; grid-template-columns:minmax(0,1fr) 44px; }
 .plus-collection .gift-filter-head>div { grid-column:1/3; grid-row:2; }
 .plus-collection .gift-filter-head>.icon-button { grid-column:2; grid-row:1; justify-self:end; }
}
/* Compact collection opening: retain all copy, type sizes and touch targets. */
@media(max-width:700px) {
  .gift-breadcrumb { padding-block:12px; }
  .gift-intro-copy { padding-block:14px 16px; }
  .gift-intro .eyebrow { margin-bottom:8px; }
  .gift-category-nav { padding-block:12px; }
  .plus-collection #gifts { padding-top:0; }
  .gift-results-heading { padding-bottom:12px; }
  .gift-results-heading p:not(.gift-result-count) { margin-top:5px; }
  .gift-browse-layout { padding-top:12px; }
  .gift-toolbar { margin-bottom:13px; }
}
/* Keep the editorial photo's stated ratio from imposing an oversized grid track. */
@media(min-width:701px) {
  .gift-editorial { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gift-editorial>div { min-width:0; }
  .gift-editorial-photo { align-self:start; }
}
/* Allow enlarged editorial links to wrap within their own readable panel. */
.gift-editorial>div { min-width:0; }
.gift-editorial .button,.gift-editorial .text-link { max-width:100%; white-space:normal; }
@media(max-width:700px) {
  .gift-editorial { grid-template-columns:minmax(0,1fr); }
  .gift-advice-grid article { grid-template-columns:minmax(38px,max-content) minmax(0,1fr); }
}

/* Controls occupy their own slots: category text remains clear and swipe stays native. */
.gift-category-browser { min-width:0; }
.gift-category-scroll { display:none; }
@media(min-width:321px) and (max-width:700px) {
  .gift-category-browser.has-category-overflow { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; gap:4px; align-items:center; }
  .gift-category-browser.has-category-overflow .gift-category-nav { min-width:0; grid-column:2; grid-row:1; }
  .gift-category-browser.has-category-overflow .gift-category-scroll { display:flex; align-items:center; justify-content:center; width:44px; min-height:44px; padding:0; border:0; color:var(--mulberry); background:transparent; font:inherit; }
  .gift-category-browser.has-category-overflow .gift-category-scroll[hidden] { visibility:hidden; }
  .gift-category-scroll[data-category-scroll="previous"] { grid-column:1; grid-row:1; }
  .gift-category-scroll[data-category-scroll="next"] { grid-column:3; grid-row:1; }
  .gift-category-scroll span { font-size:27px; line-height:1; }
  .gift-category-scroll:hover { background:var(--porcelain); }
  .gift-category-scroll:focus-visible { outline:2px solid var(--rose-ink); outline-offset:-3px; }
}
