/* Compact collection cards and a single accessible detail dialog. */
.compact-collection{padding-top:48px;padding-bottom:58px}
.compact-collection .collection-heading{margin-bottom:28px}
.compact-collection .collection-heading p{font-size:1rem}
.rail-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;text-align:left;min-height:42px}
.rail-heading p{font-size:.8rem;color:var(--muted);margin:0}
.rail-controls{display:flex;gap:8px}
.rail-arrow{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);background:transparent;border-radius:50%;color:var(--ink)}
.rail-arrow svg{width:18px;height:18px}
.rail-arrow:hover:not(:disabled){background:var(--cream)}
.rail-arrow:disabled{opacity:.3}
.product-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/5);gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:3px;padding:6px 3px 20px;scrollbar-width:thin;scrollbar-color:#b99a78 #eee2d5;text-align:left}
.product-rail:focus-visible{outline:2px solid var(--ochre);outline-offset:4px}
.product-rail>article{min-width:0;scroll-snap-align:start}
.product-card-trigger{display:block;position:relative;padding:9px 9px 14px;border:1px solid #e1d6c9;border-radius:14px;background:#fffaf6;transition:transform .2s,border-color .2s,box-shadow .2s}
.product-card-trigger:hover{transform:translateY(-4px);border-color:#c6aa87;box-shadow:0 10px 24px #472a0c0c}
.product-card-trigger:active{transform:translateY(-1px)}
.product-rail .original-photo{position:relative;aspect-ratio:1;margin:0 0 16px;border-radius:8px;background:#f4f4f4}
.product-rail .original-photo img{width:100%;height:100%;object-fit:contain;max-width:100%}
.product-rail #mongu .original-photo{background:#382e32}
.range-card .original-photo{background:white}
.range-card-label{position:absolute;top:10px;left:10px;background:var(--ink);color:white;border-radius:30px;padding:5px 9px;font-size:.56rem;letter-spacing:.07em;text-transform:uppercase}
.compact-card-info{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-inline:3px;min-height:24px;margin-bottom:15px}
.compact-card-info h3{font-size:1.05rem;letter-spacing:-.035em;margin:0;line-height:1.35}
.compact-card-info .product-price{font-size:.78rem;margin:0;flex-shrink:0}
.range-card-count{font-size:.7rem;color:var(--muted);white-space:nowrap}
.card-more{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d6c1aa;border-radius:30px;padding:8px 14px;width:100%;font-size:.74rem;font-weight:600;color:var(--ink)}
.card-more svg{width:15px;height:15px}
.product-card-trigger:hover .card-more{color:white;background:var(--button);border-color:var(--button)}
.compact-collection .catalogue-note{font-size:.73rem;margin:18px 0 0}
.detail-modal{padding:0;border:1px solid #dfcbb7;border-radius:22px;width:min(1000px,calc(100% - 64px));max-width:none;max-height:calc(100dvh - 64px);overflow:hidden;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #20120840}
.detail-modal::backdrop{background:#25180dc4;backdrop-filter:blur(4px);animation:detail-backdrop-in .24s ease-out both}
.detail-modal[open]{animation:detail-in .32s cubic-bezier(.22,.8,.25,1) both}
.detail-modal.is-closing{animation:detail-out .18s ease-in both;pointer-events:none}
.detail-modal.is-closing::backdrop{animation:detail-backdrop-out .18s ease-in both}
.detail-close{position:absolute;right:15px;top:15px;z-index:3;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fffaf6eb;border:1px solid #dbcbb9;color:var(--ink);box-shadow:0 3px 12px #2a1b1010}
.detail-close svg{width:20px;height:20px}
.detail-close:hover{background:#f0e3d5}
.detail-content{max-height:calc(100dvh - 66px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.detail-inner{display:grid;grid-template-columns:46% 54%;align-items:start}
.detail-photo{position:sticky;top:0;display:grid;place-items:center;min-width:0;background:white;align-self:start;padding:24px;min-height:420px}
.detail-photo img{width:100%;height:auto;max-height:calc(100dvh - 120px);object-fit:contain}
.detail-photo-mongu{background:#382e32}
.detail-photo-kukula{background:#ececec}
.detail-photo-udongo{background:#f5f5f5}
.detail-photo-gallery{display:block;min-height:0}
.product-gallery-stage{position:relative;width:100%;aspect-ratio:1435 / 1535;max-height:calc(100dvh - 180px)}
.detail-photo-gallery .product-gallery-image{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
.product-gallery-controls{display:flex;justify-content:center;gap:10px;margin-top:12px}
.product-gallery-controls button{min-width:88px;min-height:44px;padding:10px 18px;border:1px solid #d2b99c;border-radius:24px;color:var(--ink);background:var(--paper);font-size:.8rem;font-weight:600}
.product-gallery-controls button[aria-pressed="true"]{background:var(--button);border-color:var(--button);color:white}
.product-gallery-controls button:hover{box-shadow:0 2px 8px #542a0d18}
.product-gallery-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.product-gallery-static{margin:0 0 18px;text-align:center}
.product-gallery-fallback .product-gallery-static img{position:static;width:100%;height:auto;max-height:none}
.product-gallery-static figcaption{font-size:.8rem;margin-top:8px}
.detail-copy{min-width:0;padding:52px 36px 38px}
.detail-copy>.eyebrow{font-size:.64rem;margin-bottom:12px}
.detail-copy h2{font-size:2.6rem;line-height:1.05;letter-spacing:-.05em;margin:0 0 12px;overflow-wrap:anywhere}
.detail-subtitle{font-size:.84rem;color:var(--muted);margin:0 0 18px}
.detail-amount{font-size:1.7rem;display:block;margin-bottom:24px}
.detail-amount span{font-size:.75rem;font-weight:400;color:var(--muted)}
.detail-description{font-size:.9rem;line-height:1.8;margin-bottom:24px;color:#51493f;white-space:pre-line}
.detail-order-actions{display:flex;flex-direction:column;align-items:start;gap:16px}
.detail-order-actions .button{font-size:.83rem;padding:14px 22px;min-height:48px}
.detail-order-actions .button svg{width:17px;height:17px}
.detail-order-actions .subtle-link{display:flex;align-items:center;gap:7px;font-size:.78rem}
.detail-order-actions .subtle-link svg{width:16px;height:16px}
.detail-feedback{font-size:.76rem;line-height:1.6;min-height:1.6em;margin:14px 0 20px;color:#6b421d}
.detail-field{border-top:1px solid var(--line);padding:22px 0 0;margin-top:22px}
.detail-field h3{font-size:.95rem;letter-spacing:-.02em;margin:0 0 9px}
.detail-field p{font-size:.84rem;line-height:1.8;color:#51493f;margin:0;white-space:pre-line}
.detail-precautions{border-top-color:#cba56e}
.range-product-list{border-top:1px solid var(--line);margin-bottom:24px}
.range-product-link{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:19px 0;border-bottom:1px solid var(--line);font-size:.8rem}
.range-product-link>span:first-child{margin-right:auto}
.range-product-link strong{display:block;font-size:.96rem}
.range-product-link small{font-size:.65rem;display:block;color:var(--muted);margin-top:6px}
.range-product-link>svg{width:17px;height:17px}
.range-product-link:hover{color:#9c5c16}
.range-detail .detail-copy>.button{font-size:.8rem;padding:13px 22px}
.catalogue-fallback{margin-top:50px;text-align:left}
.catalogue-fallback>section{margin-bottom:40px;border:1px solid var(--line);scroll-margin-top:20px}
.catalogue-fallback .detail-photo{position:static}
.catalogue-fallback .detail-inner{overflow:hidden}
.catalogue-footer{padding-block:28px 18px}
.catalogue-footer .footer-grid{display:flex;align-items:center;justify-content:space-between;gap:24px}
.catalogue-footer .footer-logo{width:130px;max-width:130px;min-height:44px}
.catalogue-footer .footer-logo .logo-byline{font-size:.52rem;margin-top:6px}
.catalogue-footer .footer-brand{font-size:2rem}
.catalogue-footer .footer-description{font-size:.71rem;color:#d7c3af;margin:18px 0 0}
.catalogue-footer .footer-grid .footer-links{display:flex;flex-direction:row;align-items:center;gap:22px;font-size:.78rem}
.catalogue-footer .footer-contact,.catalogue-footer a.footer-social{min-height:44px}
.footer-social{display:flex;align-items:center;gap:10px}
.catalogue-footer .footer-contact svg,.catalogue-footer .footer-social svg{width:18px;height:18px}
.catalogue-footer .footer-bottom{margin-top:22px;padding-top:16px}
.catalogue-footer .preview-note{margin-top:16px}
@keyframes detail-in{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes detail-out{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(14px) scale(.98)}}
@keyframes detail-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes detail-backdrop-out{from{opacity:1}to{opacity:0}}
@media(max-width:1100px){.product-rail{grid-auto-columns:220px}.detail-inner{grid-template-columns:43% 57%}.detail-copy{padding:55px 28px 30px}.detail-photo{padding:15px;min-height:360px}}
@media(max-width:700px){
 .compact-collection{padding-top:34px;padding-bottom:40px}
 .compact-collection .collection-heading{margin-bottom:18px}
 .compact-collection .collection-heading p{font-size:.86rem}
 .rail-heading{margin-bottom:6px;gap:12px}
 .rail-heading p{font-size:.7rem}
 .rail-controls{gap:6px}.rail-arrow{width:34px;height:34px}
 .product-rail{grid-auto-columns:72%;gap:14px;padding-bottom:18px;scroll-padding:3px}
 .product-card-trigger{padding:8px 8px 12px;border-radius:12px}
 .product-rail .original-photo{margin-bottom:14px}
 .compact-card-info{flex-direction:row;min-height:25px;margin-bottom:14px}
 .compact-card-info h3{font-size:1.05rem}
 .compact-card-info .product-price{font-size:.8rem}
 .range-card-count{font-size:.68rem}.card-more{font-size:.74rem;padding:9px 14px}
 .compact-collection .catalogue-note{font-size:.68rem;text-align:left;line-height:1.7}
 .detail-modal{width:100%;max-height:92dvh;margin:auto auto 0;border-radius:22px 22px 0 0;border-bottom:0;animation-name:detail-in}
 .detail-content{max-height:92dvh}
 .detail-inner{grid-template-columns:1fr}
 .detail-close{right:12px;top:12px}
 .detail-photo{position:relative;display:block;min-height:0;height:300px;padding:0}
 .detail-photo img{position:absolute;inset:22px;width:calc(100% - 44px);height:calc(100% - 44px);max-height:none;object-fit:contain}
 .detail-photo-gallery{height:auto;padding:0 0 14px}
 .product-gallery-stage{height:300px;aspect-ratio:auto}
 .detail-photo-gallery .product-gallery-image{inset:22px;width:calc(100% - 44px);height:calc(100% - 44px)}
 .product-gallery-controls{margin-top:0}
 .detail-copy{padding:28px 24px 32px}
 .detail-copy h2{font-size:2.15rem}.detail-copy>.eyebrow{font-size:.6rem}
 .detail-amount{font-size:1.5rem;margin-bottom:20px}
 .detail-description{font-size:.87rem;line-height:1.75}
 .detail-order-actions .button{width:100%;font-size:.82rem}
 .detail-field p{font-size:.83rem}
 .range-product-link{gap:12px}
 .catalogue-footer .footer-grid{display:flex;flex-direction:column;align-items:start;gap:18px}
 .catalogue-footer .footer-logo{width:118px;max-width:118px}
 .catalogue-footer .footer-grid .footer-links{flex-wrap:wrap;gap:20px;font-size:.78rem}
 .catalogue-footer .footer-bottom{gap:10px;line-height:1.6}
}
@media(prefers-reduced-motion:reduce){.detail-modal[open],.detail-modal.is-closing,.detail-modal::backdrop,.detail-modal.is-closing::backdrop{animation:none!important}.product-card-trigger{transition:none!important}}
