.stock-label[data-stock="in_stock"],#catalog .stock-label[data-stock="in_stock"],.favorite-status[data-stock="in_stock"]{color:#27733e}
.stock-label[data-stock="out_of_stock"],#catalog .stock-label[data-stock="out_of_stock"],.favorite-status[data-stock="out_of_stock"]{color:#c02e2e}
.stock-quantity{display:inline-block;margin-left:12px;font-size:.8125rem;color:#735548}
/* Keep both event actions together after the description. */
#event-teaser .event-post-slide .meadow-invitation{display:block}
#event-teaser .event-post-slide .meadow-copy{max-width:75%}
#event-teaser .event-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:22px}
#event-teaser .event-post-slide .event-actions>.pill{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 24px;border-radius:999px;font-size:1rem;line-height:1.3;white-space:nowrap}
#event-teaser .event-post-slide .event-actions>.event-all-link{border:1px solid #513529b3;background:transparent;color:#513529;text-decoration:none;box-shadow:none;transition:background .2s,border-color .2s}
#event-teaser .event-post-slide .event-actions>.event-all-link:hover{background:#5135290d;border-color:#513529}
#event-teaser .event-post-slide .event-actions>.event-all-link:focus-visible{outline:2px solid #ef763f;outline-offset:3px}
#event-teaser .event-loop-controls{bottom:18px}
.event-story>.event-all-link{margin:0 0 24px}
@media(max-width:900px) and (min-width:641px){#event-teaser .event-post-slide .meadow-copy{max-width:100%}}
@media(max-width:640px){
 #event-teaser .event-post-slide .meadow-invitation{padding-top:24px}
 #event-teaser .event-post-slide .meadow-copy{max-width:100%}
 #event-teaser .event-post-slide .event-actions>.pill{padding:12px 18px;font-size:.875rem}
 #event-teaser .event-loop-controls{bottom:auto}
 #event-teaser .meadow-copy .eyebrow{font-size:.75rem;line-height:1.5;letter-spacing:.02em}
}
/* Keep the search input and its focus outline inside the allotted column. */
#catalog .shop-toolbar-actions{gap:14px}
#catalog .shop-toolbar .catalog-search-control{min-width:0;box-sizing:border-box}
#catalog .shop-toolbar .catalog-search{width:100%;max-width:100%;box-sizing:border-box}
#catalog .shop-toolbar .catalog-search input{width:100%;max-width:100%;box-sizing:border-box}
@media(prefers-reduced-motion:reduce){#event-teaser .event-actions>.event-all-link{transition:none}}

/* A shorter upper cream area, with controls inside the single banner. */
#event-teaser.event-loop{display:flex;flex-direction:column}
#event-teaser .event-loop-slides{flex:none}

@media(min-width:641px){
 #event-teaser .event-post-slide{aspect-ratio:2047/750;min-height:352px}
 #event-teaser .event-post-slide .event-post-cover img{object-fit:cover;object-position:center bottom!important}
}
@media(max-width:640px){#event-teaser .event-post-slide .meadow-invitation{padding-bottom:12px}}

/* Decode each nearby product row before revealing its photos. */
#catalog .catalog-art img{transition:opacity .18s ease}
#catalog .catalog-photo-pending .catalog-art img{opacity:0}
#catalog .catalog-photo-pending .catalog-art{background:linear-gradient(100deg,#eee9de 25%,#faf7ee 45%,#eee9de 65%);background-size:250% 100%;animation:catalog-photo-loading 1.4s ease-in-out infinite}
#catalog .catalog-art img.catalog-image-failed{visibility:hidden}
@keyframes catalog-photo-loading{to{background-position:-150% 0}}
/* Keep one artwork surface; repeating its bottom creates visible seams. */
#event-teaser .event-post-slide,#event-teaser .event-post-slide .event-post-cover,#event-teaser .event-post-slide .event-post-cover img{border-radius:0}
#event-teaser .event-loop-controls{position:absolute;inset:auto;left:50%;bottom:12px;transform:translateX(-50%);order:2;align-self:center;width:max-content;max-width:calc(100% - 24px);min-height:44px;box-sizing:border-box;margin:0;padding:2px 5px;justify-content:center;background:#faf9e3e8;border:1px solid #51352916;border-radius:999px;box-shadow:0 2px 12px #5135290c;backdrop-filter:none;-webkit-backdrop-filter:none}
#event-teaser .event-loop-dots{padding:0;background:transparent}
@media(max-width:640px){#event-teaser .event-loop-controls{bottom:8px}}
@media(prefers-reduced-motion:reduce){#catalog .catalog-art img{transition:none}#catalog .catalog-photo-pending .catalog-art{animation:none}}

/* Keep the dropdown chevron away from the right edge. */
#bag-destination,#shipping-policy-country{appearance:none;-webkit-appearance:none;box-sizing:border-box;padding-right:48px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23513529' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:18px 18px}

/* Back navigation uses the same understated text treatment everywhere. */
#catalog .catalog-back,#events .catalog-back,#events #events-index>.catalog-back{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;height:auto;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#735548;font-size:.875rem;font-weight:600;line-height:1.4;scale:1;transform:none;text-decoration:none;transition:color 160ms ease}
#catalog .catalog-back .back-arrow,#events .catalog-back .back-arrow,#events #events-index>.catalog-back .back-arrow{display:grid;place-items:center;width:20px;height:20px;min-width:20px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
#catalog .catalog-back .back-arrow svg,#events .catalog-back .back-arrow svg{width:18px;height:18px;stroke-width:1.6}
#catalog .catalog-back:hover,#events .catalog-back:hover,#events #events-index>.catalog-back:hover{background:transparent;box-shadow:none;color:#513529;scale:1;transform:none}
#catalog .catalog-back:hover>span:last-child,#events .catalog-back:hover>span:last-child{text-decoration:underline;text-underline-offset:4px}
#catalog .catalog-back:focus-visible,#events .catalog-back:focus-visible{outline:2px solid #735548;outline-offset:4px}
@media(prefers-reduced-motion:reduce){#catalog .catalog-back,#events .catalog-back{transition:none}}

/* Compact empty states for both shopping panels. */
#details:has(.bag-detail.is-empty,.favorites-view.is-empty){width:min(600px,calc(100vw - 32px));height:auto!important;min-height:0!important;max-height:85dvh;padding:30px;border-radius:24px;overflow:auto}
#details:has(.bag-detail.is-empty,.favorites-view.is-empty) #detail-content{height:auto!important;min-height:0!important}
#details .is-empty>.eyebrow{display:block;padding-right:44px;font-size:.6875rem;letter-spacing:.09em;color:#8a7161}
#details .is-empty>h2{font-size:1.65rem;line-height:1.25;margin:10px 0 0;padding-right:40px}
#details .is-empty .dialog-item-count,#details .favorites-view.is-empty>p:first-of-type{display:none}
#details .commerce-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;margin:0;padding:36px 8px 18px;border:0;border-radius:0;background:transparent;min-height:0}
#details .commerce-empty .empty-state-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#f2eadc;color:#8a7161;margin-bottom:22px}
#details .commerce-empty .empty-state-icon svg{width:38px;height:38px;color:inherit}
#details .commerce-empty h3{font-size:1.25rem;line-height:1.3;margin:0 0 10px;color:#513529;letter-spacing:-.02em}
#details .commerce-empty p{max-width:290px;font-size:.875rem;line-height:1.6;margin:0 0 24px;color:#836c5d}
#details .commerce-empty .pill{width:auto;min-height:48px;padding:12px 24px;font-size:.875rem;margin:0;box-shadow:none}
#details .favorite-transfer-feedback:empty,#details .is-empty #bag-error:empty{display:none}
#details .is-empty .favorite-undo{padding:10px 12px;margin:12px 0 0;font-size:.8125rem;border-radius:10px}
@media(max-width:600px){#details:has(.bag-detail.is-empty,.favorites-view.is-empty){padding:24px 20px;border-radius:20px}#details .commerce-empty{padding:30px 0 12px}#details .is-empty>h2{font-size:1.5rem}}
/* Let mobile event artwork breathe and keep controls clear of the cats. */
@media(max-width:640px){
 #event-teaser .event-post-slide .meadow-invitation{padding:24px 6% 20px}
 #event-teaser .meadow-copy .eyebrow{background:transparent;color:#a9653f;padding:0;border-radius:0;font-size:.625rem;font-weight:700;letter-spacing:.035em;line-height:1.5}
 #event-teaser .event-post-slide .meadow-copy h2{font-size:clamp(1.55rem,6vw,1.9rem);margin:10px 0 12px}
 #event-teaser .event-post-slide .meadow-copy p{font-size:.875rem;line-height:1.65}
 #event-teaser .event-actions{gap:10px;margin-top:20px}
 #event-teaser .event-post-slide .event-actions>.pill{min-height:44px;padding:10px 17px;font-size:.8125rem}
 #event-teaser .event-post-slide .event-post-cover{aspect-ratio:16/7}
 #event-teaser .event-post-slide .event-post-cover img{object-fit:cover;object-position:center bottom}
 #event-teaser .event-loop-controls{position:relative;inset:auto;left:auto;bottom:auto;transform:none;width:max-content;max-width:100%;min-height:44px;margin:4px auto 8px;padding:0 4px;background:transparent;border:0;box-shadow:none}
 #event-teaser .event-loop-controls button{width:36px;min-width:36px;height:44px;min-height:44px}
 #event-teaser .event-loop-progress{display:none}
}

/* Centre the complete empty-state composition, including its heading. */
#details:has(.bag-detail.is-empty,.favorites-view.is-empty){height:min(520px,85dvh)!important;min-height:0!important;margin:auto}
#details:has(.bag-detail.is-empty,.favorites-view.is-empty) #detail-content{height:100%!important;min-height:0!important}
#details :is(.bag-detail,.favorites-view).is-empty{height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
#details .is-empty>.eyebrow{padding:0 32px;max-width:100%;text-align:center}
#details .is-empty>h2{justify-content:center;text-align:center;padding:0;margin:10px 0 0}
#details .is-empty .commerce-empty{padding:26px 0 0;width:100%}
#details .is-empty .empty-state-icon svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){#details:has(.bag-detail.is-empty,.favorites-view.is-empty){height:min(480px,85dvh)!important;padding:38px 20px 28px}}
