/* Royal Treasury: scoped storefront presentation; checkout and shared chrome stay intact. */
.treasury-storefront .shop-flow { background:#060504; }
.treasury-storefront .treasury-main { --treasury-gold:#e3bc69; --treasury-line:#725425; color:#e4d2ad; padding:0 0 28px; background:radial-gradient(ellipse at 50% 0,#28110655,transparent 55%),#060504; }
.treasury-storefront .treasury-main *, .treasury-storefront .treasury-main *::before, .treasury-storefront .treasury-main *::after { box-sizing:border-box; }
.treasury-storefront .treasury-main a { text-decoration:none; }
.treasury-storefront .treasury-main a:focus-visible,.treasury-storefront .treasury-main button:focus-visible,.treasury-storefront .treasury-main summary:focus-visible { outline:2px solid #f4cc78; outline-offset:3px; }
.treasury-storefront .shop-flow .treasury-hero { position:relative; display:flex; align-items:center; isolation:isolate; height:auto; min-height:300px; padding:32px 5%; margin:0; border:0; border-bottom:1px solid #725425; border-radius:0; overflow:hidden; background:#160807; }
.treasury-storefront .shop-flow .treasury-hero__art { position:absolute; inset:0; z-index:-2; background:url('/images/hero-bg.png') right 22% / auto 155% no-repeat; }
.treasury-storefront .shop-flow .treasury-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#070302f5 0%,#100504e0 27%,#13050345 61%,#13050305 80%),linear-gradient(0deg,#060504cc,transparent 28%); }
.treasury-storefront .shop-flow .treasury-hero__copy { position:relative; z-index:1; max-width:53%; margin:0; padding:0; text-align:left; }
.treasury-storefront .shop-flow .treasury-hero__eyebrow { margin:0 0 8px; color:#e6bf6e; font:11px/1.3 Cinzel,Georgia,serif; letter-spacing:1.3px; }
.treasury-storefront .shop-flow .treasury-hero h1 { margin:0 0 7px; max-width:none; white-space:normal; color:#edc76e; font:500 clamp(33px,3.7vw,49px)/1.02 Cinzel,Georgia,serif; text-transform:uppercase; letter-spacing:.5px; }
.treasury-storefront .shop-flow .treasury-hero__lead { margin:0 0 9px; color:#e4bc67; font:19px/1.25 'EB Garamond',Georgia,serif; }
.treasury-storefront .shop-flow .treasury-hero__text { margin:0; color:#e2ceb0; font:16px/1.3 'EB Garamond',Georgia,serif; max-width:370px; }
.treasury-toolbar { position:relative; display:flex; align-items:stretch; justify-content:center; gap:10px; width:calc(100% - 48px); margin:-2px auto 20px; z-index:5; }
.treasury-availability-nav { display:grid; flex:1; max-width:760px; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.treasury-availability-nav>a,.treasury-cart-toggle>summary { display:flex; align-items:center; justify-content:center; gap:7px; min-height:40px; margin:0; padding:9px 8px; border:1px solid #765527; border-radius:3px; background:#0b0704; color:#d8c39a; text-align:center; font:10px/1.25 Cinzel,Georgia,serif; text-transform:uppercase; cursor:pointer; }
.treasury-availability-nav>a.is-active { background:linear-gradient(#efd18b,#bd8734); color:#291805; border-color:#c29649; }
.treasury-availability-nav>a:hover { border-color:#d4a950; }
.treasury-cart-toggle { position:relative; flex:0 0 auto; }
.treasury-cart-toggle>summary { list-style:none; height:100%; }
.treasury-cart-toggle>summary::-webkit-details-marker { display:none; }
.treasury-cart-toggle>summary svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; }
.treasury-cart-toggle[open]>summary { border-color:#ecc375; }
.treasury-storefront .shop-flow .treasury-cart-toggle .shop-cart-sidebar { position:absolute; top:calc(100% + 8px); right:0; z-index:20; width:340px; max-width:calc(100vw - 28px); max-height:70vh; overflow-y:auto; padding:16px; margin:0; border:1px solid #8c692e; border-radius:4px; background:#0e0805; box-shadow:0 12px 35px #000a; display:block; }
.treasury-storefront .shop-flow .shop-cart-sidebar__heading { margin:0 0 12px; padding:0 0 10px; }
.treasury-storefront .shop-flow .shop-cart-sidebar__heading h2 { font-size:16px; }
.treasury-storefront .shop-flow .shop-cart-sidebar__line { grid-template-columns:42px 1fr auto; gap:8px; }
.treasury-storefront .shop-flow .shop-cart-sidebar__thumb { width:42px; height:48px; }
.treasury-storefront .shop-flow .shop-cart-sidebar__checkout { padding:10px; }
.treasury-storefront .shop-flow .treasury-section { width:calc(100% - 48px); max-width:none; padding:0; margin:0 auto 24px; border:0; background:none; scroll-margin-top:80px; }
.treasury-section-heading { display:flex; align-items:center; gap:10px; margin:0 0 10px; padding:0 0 7px; border-bottom:1px solid #765827; }
.treasury-section-heading h2 { flex:1; min-width:0; margin:0; color:#e5bd6b; text-align:left; text-transform:uppercase; font:500 20px/1.25 Cinzel,Georgia,serif; }
.treasury-section-heading h2>span { color:#be8d37; }
.treasury-section-heading>a { color:#d6ad5f; font:10px/1.3 Cinzel,Georgia,serif; white-space:nowrap; }
.treasury-section-heading>p { margin:0; font:italic 14px/1.3 'EB Garamond',Georgia,serif; color:#c6b494; }
.treasury-storefront .shop-flow .shop-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:0; padding:0; align-items:stretch; }
.treasury-storefront .shop-flow .shop-card { display:flex; flex-direction:column; height:100%; min-width:0; margin:0; padding:0; border:1px solid #7c5b28; border-radius:4px; overflow:hidden; background:linear-gradient(155deg,#180a06,#080604 75%); box-shadow:none; }
.treasury-storefront .shop-flow .shop-card-media-wrap { margin:0; position:relative; }
.treasury-storefront .shop-flow .shop-card-media { position:relative; height:auto; width:100%; aspect-ratio:1.42; margin:0; padding:0; }
.treasury-storefront .shop-flow .shop-card-img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .2s; }
.treasury-storefront .shop-flow .shop-card:hover .shop-card-img { transform:scale(1.025); }
.treasury-storefront .shop-flow .shop-card-media-shade { background:linear-gradient(transparent 65%,#100a05bb); }
.treasury-storefront .shop-flow .shop-card-type-pill { display:none; }
.treasury-storefront .shop-flow .shop-card-badge { top:8px; right:7px; font:8px/1.2 Cinzel,serif; padding:4px 6px; max-width:85%; color:#f0d396; border:1px solid #9a7732; background:#241506dc; }
.treasury-storefront .shop-flow .shop-card-body { display:flex; flex:1; flex-direction:column; padding:10px 11px; gap:0; }
.treasury-storefront .shop-flow .shop-card-chips { min-height:12px; margin:0 0 3px; padding:0; }
.treasury-storefront .shop-flow .shop-card-chip { display:block; padding:0; border:0; border-radius:0; background:none; color:#cba85e; font:8px/1.3 Cinzel,Georgia,serif; text-transform:uppercase; letter-spacing:.7px; }
.treasury-storefront .shop-flow .shop-card-title { margin:0 0 5px; min-height:0; color:#eddbb4; font:500 17px/1.18 'EB Garamond',Georgia,serif; text-transform:none; letter-spacing:0; }
.treasury-storefront .shop-flow .shop-card-title-link { color:inherit; }
.treasury-storefront .shop-flow .shop-card-desc { margin:0 0 10px; min-height:0; color:#d4c4a4; font:15px/1.23 'EB Garamond',Georgia,serif; }
.treasury-storefront .shop-flow .shop-card-footer { display:flex; flex-direction:column; align-items:stretch; margin-top:auto; padding:0; gap:7px; border:0; background:none; }
.treasury-storefront .shop-flow .shop-card-price-wrap { display:block; }
.treasury-storefront .shop-flow .shop-card-price-label { display:none; }
.treasury-storefront .shop-flow .shop-price { color:#f3d08b; font:18px/1 'EB Garamond',Georgia,serif; }
.treasury-storefront .shop-flow .shop-buy-btn--card { display:flex; align-items:center; justify-content:center; gap:5px; width:100%; min-height:33px; margin:0; padding:7px 4px; border:1px solid #bd9144; border-radius:3px; background:linear-gradient(#281104,#090604); color:#eac77e; box-shadow:none; font:9px/1.25 Cinzel,Georgia,serif; text-transform:uppercase; white-space:normal; }
.treasury-storefront .shop-flow .shop-buy-btn--card:hover { background:#35200b; border-color:#f0cc83; }
.treasury-card-cart { width:100%; margin:0; }
.treasury-card-cart button { cursor:pointer; }
.treasury-coming__grid,.treasury-storefront .shop-flow .treasury-collection-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.treasury-coming__card { min-width:0; overflow:hidden; border:1px solid #795726; border-radius:4px; background:linear-gradient(145deg,#1c0b05,#080604 75%); }
.treasury-coming__card>a { display:flex; height:100%; flex-direction:column; padding:0 9px 10px; color:#e7c778; text-align:center; }
.treasury-coming__art { position:relative; width:calc(100% + 18px); margin:0 -9px 7px; }
.treasury-coming__art img { display:block; width:100%; height:auto; aspect-ratio:1.65; object-fit:cover; filter:brightness(.72); }
.treasury-coming__lock { position:absolute; bottom:5px; left:calc(50% - 12px); width:24px; height:26px; color:#edc569; }
.treasury-coming__lock svg { width:100%; height:100%; fill:#120804; stroke:currentColor; stroke-width:1.5; }
.treasury-coming__card strong { color:#e7c778; font:11px/1.25 Cinzel,Georgia,serif; text-transform:uppercase; }
.treasury-coming__card p { flex:1; margin:5px 0 10px; color:#d2c0a0; font:14px/1.2 'EB Garamond',Georgia,serif; }
.treasury-coming__button { width:100%; padding:7px 3px; border:1px solid #a47d35; border-radius:2px; color:#e4c17a; font:9px/1.3 Cinzel,Georgia,serif; text-transform:uppercase; }
.treasury-coming__card>a:hover .treasury-coming__button { background:#2d1b09; }
.treasury-coming__empty { grid-column:1/-1; }
.treasury-storefront .shop-flow .treasury-collection-card { position:relative; display:flex; flex-direction:column; min-height:0; padding:0; border:1px solid #785729; border-radius:3px; background:#0d0704; overflow:hidden; }
.treasury-collection-card>img { display:block; width:100%; height:auto; aspect-ratio:1.7; object-fit:cover; }
.treasury-storefront .shop-flow .treasury-collection-card__body { position:static; display:flex; flex:1; flex-direction:column; min-height:0; justify-content:flex-start; padding:12px; text-align:left; background:none; }
.treasury-storefront .shop-flow .treasury-collection-card__body strong { font:13px/1.2 Cinzel,serif; color:#e4bd72; }
.treasury-storefront .shop-flow .treasury-collection-card__body em { margin:7px 0 10px; color:#cbb998; font:15px/1.2 'EB Garamond',Georgia,serif; }
.treasury-storefront .shop-flow .treasury-collection-card__body>span { align-self:stretch; margin-top:auto; padding:7px 3px; border:1px solid #8a672d; color:#e5bf6f; text-align:center; font:9px/1.3 Cinzel,serif; text-transform:uppercase; }
.treasury-storefront .shop-flow .treasury-newsletter { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,36%); align-items:center; gap:12px 24px; margin-bottom:0; padding:20px 24px 13px 23%; border:1px solid #967032; border-radius:4px; background:linear-gradient(90deg,transparent 0,#170605e8 24%,#170605 52%,#0c0604 100%),url('/images/royal-treasury/collection-handwritten-letters-clean.png') left center / 30% auto no-repeat; }
.treasury-newsletter h2 { margin:0 0 6px; color:#e9c272; font:18px/1.25 Cinzel,Georgia,serif; text-transform:uppercase; }
.treasury-newsletter p { margin:0; color:#d2c0a1; font:15px/1.25 'EB Garamond',Georgia,serif; }
.treasury-newsletter .nl-form { display:grid; grid-template-columns:minmax(0,1fr); gap:6px; margin:0; min-width:0; }
.treasury-newsletter .newsletter-hp,.treasury-newsletter .nl-form__label { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.treasury-newsletter .nl-form__icon { display:none; }
.treasury-newsletter .nl-form__field { min-width:0; }
.treasury-newsletter .nl-form__input { width:100%; height:36px; padding:8px 10px; border:1px solid #6c4d23; border-radius:3px; background:#100804; color:#f1dbb0; font:14px 'EB Garamond',Georgia,serif; }
.treasury-newsletter .nl-form__submit { height:35px; padding:8px; border:1px solid #c59544; border-radius:3px; background:linear-gradient(#f2d18b,#bd8630); color:#251301; font:10px Cinzel,Georgia,serif; text-transform:uppercase; cursor:pointer; }
.treasury-newsletter .treasury-newsletter__benefits { grid-column:1/-1; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; margin:0; font-size:12px; }
.treasury-form-error { margin:6px 0 0!important; color:#f0a491!important; }
.treasury-filter { display:flex; align-items:center; gap:8px; margin:0 0 14px; color:#ceb77e; font-size:12px; }
.treasury-filter select { flex:1; min-width:0; padding:9px; border:1px solid #6e5125; background:#0f0905; color:#e8c683; font:13px 'EB Garamond',Georgia,serif; }
.treasury-filter button { padding:10px; border:1px solid #a67b31; background:#b58a3f; color:#1d1203; font:9px Cinzel,serif; text-transform:uppercase; cursor:pointer; }
.treasury-storefront .shop-flow .shop-empty { grid-column:1/-1; padding:25px 10px; text-align:center; }
.treasury-storefront .shop-flow .court-flash { margin:12px 24px; }
@media(min-width:1600px) { .treasury-storefront .shop-flow .treasury-hero { min-height:340px; } }
@media(max-width:760px) {
 .treasury-storefront .shop-flow .treasury-hero { min-height:240px; padding:25px 20px; }
 .treasury-storefront .shop-flow .treasury-hero__copy { max-width:68%; }
 .treasury-storefront .shop-flow .treasury-hero h1 { font-size:30px; }
 .treasury-storefront .shop-flow .treasury-hero__art { background-size:cover; background-position:right center; }
 .treasury-storefront .shop-flow .treasury-hero__lead { font-size:15px; }
 .treasury-storefront .shop-flow .treasury-hero__text { font-size:13px; }
 .treasury-storefront .shop-flow .treasury-hero__eyebrow { font-size:9px; }
 .treasury-toolbar { width:calc(100% - 24px); gap:5px; margin-bottom:18px; }
 .treasury-availability-nav { gap:5px; }
 .treasury-availability-nav>a { font-size:8px; gap:4px; padding:8px 3px; }
 .treasury-tab-count { display:none; }
 .treasury-cart-toggle>summary { padding:8px; font-size:9px; gap:3px; }
 .treasury-cart-toggle>summary>span { display:none; }
 .treasury-storefront .shop-flow .treasury-section { width:calc(100% - 24px); margin-bottom:20px; }
 .treasury-section-heading { gap:6px; }
 .treasury-section-heading h2 { font-size:17px; }
 .treasury-section-heading>a { font-size:8px; }
 .treasury-section-heading>p { display:none; }
 .treasury-storefront .shop-flow .shop-grid,.treasury-coming__grid,.treasury-storefront .shop-flow .treasury-collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .treasury-storefront .shop-flow .shop-card-title { font-size:16px; }
 .treasury-storefront .shop-flow .shop-card-desc { font-size:14px; }
 .treasury-storefront .shop-flow .shop-card-body { padding:9px; }
 .treasury-storefront .shop-flow .shop-card-media { aspect-ratio:1.25; }
 .treasury-coming__card strong { font-size:10px; }
 .treasury-storefront .shop-flow .treasury-newsletter { grid-template-columns:1fr; padding:18px 14px 14px; background:linear-gradient(90deg,#160704d9,#160704f5 65%),url('/images/royal-treasury/collection-handwritten-letters-clean.png') left center / cover; gap:12px; margin-bottom:0; }
 .treasury-newsletter h2 { font-size:17px; }
 .treasury-newsletter .treasury-newsletter__benefits { display:grid; grid-template-columns:1fr 1fr; }
 .treasury-filter { flex-wrap:wrap; gap:6px; }
 .treasury-filter label { width:100%; }
}
@media(max-width:360px) {
 .treasury-storefront .shop-flow .treasury-hero { padding:22px 12px; min-height:230px; }
 .treasury-storefront .shop-flow .treasury-hero h1 { font-size:29px; }
 .treasury-storefront .shop-flow .treasury-hero__copy { max-width:74%; }
 .treasury-storefront .shop-flow .treasury-hero__text br { display:none; }
 .treasury-availability-nav>a { font-size:7px; }
 .treasury-availability-nav>a>span:first-child { display:none; }
 .treasury-storefront .shop-flow .shop-card-title { font-size:15px; }
 .treasury-storefront .shop-flow .shop-card-desc { font-size:13px; }
 .treasury-storefront .shop-flow .shop-buy-btn--card { font-size:8px; }
 .treasury-section-heading h2 { font-size:15px; }
}
.treasury-storefront .shop-flow .shop-grid { grid-auto-rows:1fr; }
.treasury-availability-nav>a>svg { width:12px; height:12px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.5; }
