/* Phone refinements for the independent Catalogue Studio. */
@media(max-width:700px){
 html{scroll-padding-top:88px}
 .topbar{height:auto;min-height:70px;padding:10px 16px;gap:10px}
 .topbar .brand{gap:8px;min-width:0}
 .topbar .brand img{width:30px;height:36px}
 .topbar .brand-name{font-size:clamp(11px,3.2vw,14px);white-space:nowrap;letter-spacing:.7px!important}
 .topbar .brand-name>span{font-size:8px;letter-spacing:2.7px!important}
 .topbar .shortlist-button{padding:8px 10px;gap:7px;min-height:44px}
 .topbar .shortlist-button .cart-word{font-size:11px}
 .topbar .shortlist-button .cart-count{width:22px;height:22px}
 body.catalogue-editorial main{padding-inline:18px}
 body.catalogue-editorial .catalogue{padding:18px 0 40px}
 .catalogue-editorial .breadcrumbs{padding-inline:0;font-size:12px}
 .collection-masthead{padding-bottom:22px;margin-bottom:22px}
 .collection-masthead h1{font-size:clamp(34px,10vw,42px);line-height:1.08;letter-spacing:-1.1px;margin:16px 0}
 .collection-masthead .eyebrow{font-size:10px;letter-spacing:1.2px}
 .collection-masthead .catalogue-introduction p{font-size:14px;line-height:1.7;max-width:480px}
 .collection-browse-heading{margin-bottom:14px}
 .collection-browse-heading .eyebrow{font-size:10px;letter-spacing:1.5px}
 .collection-browse-heading{display:none}
 body.catalogue-editorial .catalogue-search{gap:13px}
 body.catalogue-editorial .catalogue-search label{font-size:12px;gap:7px}
 body.catalogue-editorial .catalogue-search input,body.catalogue-editorial .catalogue-search select{min-height:50px;padding:12px 14px;font-size:16px}
 body.catalogue-editorial .catalogue-hint{font-size:12px;line-height:1.65;margin:13px 0 17px}
 .collection-refine{margin-bottom:20px}
 .collection-refine>summary{padding:16px 0;min-height:52px;font-size:13px}
 .collection-refine .filter-chooser{padding-inline:4px}
 .collection-refine .filter-chooser .setup-filter-label{font-size:10px;max-width:none;letter-spacing:.5px}
 .collection-refine .filter-expand{font-size:12px;min-height:44px}
 .collection-refine .setup-filter-title{font-size:12px;line-height:1.5}
 .collection-refine .setup-filter-circle{width:70px;height:70px}
 body.catalogue-editorial .browse-mode{margin-bottom:19px}
 body.catalogue-editorial .browse-mode button{font-size:12px;padding-inline:10px;min-height:44px}
 body.catalogue-editorial .results-line{padding:5px 0 21px;scroll-margin-top:0}
 body.catalogue-editorial #result-count{font-size:12px}
 body.catalogue-editorial .card-occasion{font-size:10px;letter-spacing:1.3px}
 body.catalogue-editorial .card-meta{font-size:12px;line-height:1.7}
 body.catalogue-editorial .card h3,body.catalogue-editorial .card h3 a{font-size:clamp(24px,6.4vw,28px);line-height:1.2}
 body.catalogue-editorial .card h3 a{display:inline-block;min-height:44px;padding-block:6px}
 body.catalogue-editorial .card h3{margin:6px 0}
 body.catalogue-editorial .album-count{font-size:11px;bottom:10px;right:10px;padding:7px 10px}
 body.catalogue-editorial .image-category{font-size:11px;line-height:1.5}
 body.catalogue-editorial .catalogue-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:28px;padding-top:22px;font-size:12px}
 body.catalogue-editorial .catalogue-pagination a{display:inline-flex;align-items:center;justify-content:center;padding:12px 15px;min-height:44px}
 body.catalogue-editorial .catalogue-pagination[hidden]{display:none}
 #photo-dialog,#shortlist-dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 #photo-dialog{position:fixed;inset:12px 8px;margin:0;width:calc(100% - 16px);max-width:none;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box}
 html:has(#photo-dialog[open]),html:has(#shortlist-dialog[open]){overflow:hidden}
 #photo-dialog .close-photo{position:fixed;top:22px;left:auto;right:24px;z-index:10;width:44px;height:44px;display:grid;place-items:center;background:#1b231df2;border:1px solid #b4a58a}
 #photo-dialog .photo-info{padding:27px 20px}
 #photo-dialog .photo-info h2{font-size:30px}
 #photo-dialog .photo-info>p,#photo-dialog .photo-info .fine{font-size:14px;line-height:1.75}
 #photo-dialog .photo-info .primary{font-size:13px;min-height:52px}
 #photo-dialog .preview-step{font-size:12px}
 #photo-dialog .preview-record-position{font-size:12px}
 #photo-dialog .event-item h4{font-size:16px;line-height:1.5}
 #photo-dialog .item-add{min-width:44px;min-height:44px}
 #shortlist-dialog{padding:22px 20px}
 #shortlist-dialog .shortlist-head{top:-22px;padding-top:18px;padding-bottom:18px}
 #shortlist-dialog label,#shortlist-dialog .fine,#shortlist-dialog .privacy-consent,#cart-summary{font-size:13px;line-height:1.7}
 #shortlist-dialog .shortlist-row h3{font-size:22px}
 #shortlist-dialog input[type=checkbox]{min-height:20px;width:20px;height:20px;flex:0 0 20px}
 #shortlist-dialog .alternative{min-height:44px;align-items:center}
 #shortlist-dialog .privacy-consent{min-height:44px;align-items:flex-start;padding-block:5px}
 #shortlist-dialog .cart-actions>*{min-height:50px;font-size:13px}
 .mobile-enquiry{padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:10px}
 .mobile-enquiry a{min-height:46px;font-size:13px}
 .mobile-enquiry.context-hidden{display:none}
 .privacy-banner p{font-size:13px;line-height:1.6}
 .privacy-actions button{font-size:13px;min-height:46px}
 .enquiry-section .fine{font-size:13px;line-height:1.7}
 .enquiry-section .form-grid label{font-size:13px}
 .enquiry-section input,.enquiry-section select,.enquiry-section textarea{font-size:16px}
}
@media(min-width:701px) and (max-width:900px) and (max-height:500px){
 #photo-dialog{position:fixed;inset:12px 8px;margin:0;width:calc(100% - 16px);max-width:none;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;overscroll-behavior:contain}
 #photo-dialog .photo-layout{display:block}
 #photo-dialog .photo-column{width:100%!important}
 #photo-dialog .photo-info{max-height:none}
 #photo-dialog .close-photo{position:fixed;top:22px;left:auto;right:24px;z-index:10;min-width:44px;min-height:44px;background:#1b231df2}
 html:has(#photo-dialog[open]){overflow:hidden}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:360px){
 .topbar{padding-inline:12px;gap:8px}
 .topbar .brand img{width:26px;height:32px}
 .topbar .brand-name{font-size:11px}
 .topbar .shortlist-button{padding-inline:8px;gap:6px}
 .topbar .shortlist-button .cart-word{font-size:10px}
 .collection-masthead .eyebrow{font-size:9px;letter-spacing:.9px}
 .collection-refine .setup-filter-circle{width:60px;height:60px}
 .filter-chooser-heading{gap:6px}
 body.catalogue-editorial .browse-mode button{font-size:11px;padding-inline:6px}
 #shortlist-dialog{padding-inline:16px}
}
