/* Buyer journey refinements. Keep the approved warm ivory and terracotta palette. */
/* Let each photograph define its frame: no padding or letterboxing around grey images. */
body .product-layout .main-image{height:auto;max-height:none;aspect-ratio:auto;padding:0;border:0;background:transparent;border-radius:6px;overflow:hidden}
body .product-layout .main-image img{display:block;width:100%;height:auto;max-height:none;padding:0;object-fit:contain}
.catalog-tools{margin-bottom:24px}
.catalog-toolbar{display:flex;align-items:end;gap:12px;margin-bottom:16px}
.catalog-search-label{display:block;width:min(420px,100%);font-size:12px;color:var(--muted)}
.catalog-search-label input{display:block;width:100%;min-height:44px;margin-top:8px;padding:11px 14px;border:1px solid #d7cbbb;border-radius:5px;background:#fffcf7;font:inherit;font-size:14px;color:var(--ink)}
.catalog-filter-toggle{display:none}
.catalog-active-filters{font-size:12px;color:#705c48;margin:12px 0}
.category-short{display:none}
.catalog-grid h3{font-size:20px;line-height:1.35}
.catalog-grid article>.eyebrow{font-size:11px;letter-spacing:1px}
.catalog-grid article>p:not(.eyebrow){line-height:1.65;margin-top:10px}
.catalog-grid article>.text-link{display:inline-block;min-height:32px}
.curated-detail{gap:48px;align-items:start;padding-top:12px;padding-bottom:48px}
.curated-detail-copy h1{font-size:clamp(32px,3.2vw,47px);margin:16px 0 18px}
.curated-detail .lead{font-size:15px;line-height:1.8;max-width:52ch}
.curated-key-specs{margin:24px 0 20px;border-top:1px solid var(--line)}
.curated-key-specs>div{display:grid;grid-template-columns:110px 1fr;gap:16px;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px;line-height:1.6}
.curated-key-specs dt{color:var(--muted)}
.curated-key-specs dd{margin:0}
.curated-detail .order-action{margin-top:18px;margin-bottom:12px}
.curated-detail .trade-note{line-height:1.7;font-size:12px}
.curated-detail .datasheet-action{margin:18px 0}
.curated-detail-links{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px;font-size:13px}
.curated-detail-links button.text-link{background:transparent;border:0;border-bottom:1px solid var(--ink);font:inherit;color:inherit;cursor:pointer;padding:0 0 4px}
.curated-detail-object{margin-top:24px;padding:15px 20px 10px;background:#fffcf7;border:1px solid var(--line);text-align:center}
.curated-detail .curated-detail-object img{width:100%;height:175px;object-fit:contain;background:transparent}
.curated-detail-object span{font-size:11px;color:var(--muted)}
.curated-specifications{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;border-top:1px solid var(--line);padding:48px 0 64px;scroll-margin-top:24px}
.curated-specifications h2{font-size:34px;line-height:1.15;margin:15px 0}
.curated-specifications p{font-size:13px;color:var(--muted)}
.curated-specifications table{margin:0;font-size:13px}
.product-key-facts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.product-key-facts>div{padding:9px 12px;background:#f1eade;border-radius:5px;max-width:100%}
.product-key-facts dt{font-size:10px;color:var(--muted);margin-bottom:3px}
.product-key-facts dd{font-size:12px;margin:0;overflow-wrap:anywhere}
.trade-page:not(.about-page) .trade-page-hero h1{font-size:clamp(36px,3.8vw,55px);line-height:1.1;letter-spacing:-1px}
body:not(:has(.curated-hero))::before{opacity:.3}
.copy-contact{display:block;background:transparent;border:0;border-bottom:1px solid #cbb59e;color:var(--accent);padding:6px 0 2px;margin-top:12px;font-size:12px;cursor:pointer}
.copy-contact:hover{border-color:var(--accent)}
.copy-contact-dialog input{display:block;width:100%;padding:12px;margin:12px 0 24px;background:#fff;border:1px solid var(--line)}
.contact-grid article{min-width:0}
.contact-grid a{overflow-wrap:anywhere}
@media(min-width:801px){.curated-detail>figure{position:sticky;top:24px}.catalog-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}
@media(max-width:800px){
 body:not(:has(.curated-hero))::before{opacity:.22}
 .catalog-heading{padding:16px 0 20px}
 .catalog-heading h1{font-size:38px;margin:12px 0}
 .catalog-heading p{font-size:13px;line-height:1.6;margin:8px 0}
 .catalog-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;margin-bottom:20px}
 .catalog-tabs a{display:flex;justify-content:center;align-items:center;white-space:normal;min-width:0;padding:12px 5px;font-size:12px;gap:4px}
 .catalog-tabs .category-full{display:none}.catalog-tabs .category-short{display:inline}
 .catalog-tabs .line-icon{margin-right:3px;width:14px;height:14px;flex-shrink:0}
 .catalog-toolbar{gap:10px;margin-bottom:0}
 .catalog-search-label{flex:1;min-width:0;font-size:11px}
 .catalog-search-label input{font-size:14px;margin-top:6px}
 .catalog-filter-toggle{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:10px 13px;font-size:12px;flex-shrink:0}
 .catalog-tools:not(.filters-open) .catalog-filters{display:none}
 .catalog-filters{margin-top:14px;padding:16px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalog-filters label{font-size:11px}.catalog-filters select{font-size:12px;padding:9px;min-height:44px}
 .catalog-count{margin:18px 0 16px;font-size:12px}
 .catalog-type-group{margin:24px 0}.catalog-type-group h2{font-size:23px;margin-bottom:16px}
 .catalog-grid{gap:26px 14px;margin-bottom:32px}.catalog-grid h3{font-size:16px;line-height:1.4}
 .catalog-grid article>.eyebrow{font-size:10px;margin-top:14px}
 .catalog-grid article>p:not(.eyebrow){font-size:11px}.catalog-grid .text-link{font-size:11px}
 .catalog-toggle-label{font-size:10px;padding:5px 6px;right:6px;bottom:6px}
 .curated-detail{gap:26px;padding-bottom:35px}
 .curated-detail-copy h1{font-size:34px;line-height:1.08}
 .curated-detail figure>img{height:auto;max-height:420px}
 .curated-detail-object{display:none}
 .curated-key-specs{margin:20px 0}.curated-key-specs>div{grid-template-columns:95px 1fr;gap:12px;font-size:12px;padding:10px 0}
 .curated-detail .lead{font-size:14px}
 .curated-detail-links{gap:18px;font-size:12px}
 .curated-specifications{grid-template-columns:1fr;gap:20px;padding:32px 0 42px}
 .curated-specifications h2{font-size:30px}
 .curated-specifications th,.curated-specifications td{font-size:12px;padding:10px 8px}
 .trade-page:not(.about-page) .trade-page-hero h1{font-size:37px}
 .contact-page{padding-top:28px}.contact-page>h1{font-size:38px}
 .contact-page>p{font-size:14px;line-height:1.75}
 .contact-page>h2{font-size:29px;margin-top:26px}
 .contact-grid{gap:12px;margin:26px 0}
 .contact-grid article{padding:20px 22px}.contact-grid article h2{font-size:23px;margin:0 0 8px}
 .contact-grid article a,.contact-grid .wechat-id{font-size:14px}
 .copy-contact{min-height:36px;margin-top:6px}
 footer{padding-top:28px;padding-bottom:22px}
 footer .footer-top{gap:18px;padding-bottom:22px}
 footer .footer-top>p{margin:0;line-height:1.6}
 footer .footer-top .footer-navigation{gap:12px 18px;font-size:12px}
 footer .footer-company{padding:16px 0;font-size:11px}
 footer .footer-company p{margin:6px 0}
 footer .footer-company address{line-height:1.6}
 footer .footer-legal{gap:10px 20px;margin-top:12px;padding-top:14px;padding-bottom:14px}
 footer .footer-bottom{padding-top:14px;margin-top:0;gap:10px;font-size:10px}
}
@media(max-width:380px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-tabs a{font-size:11px}}

/* Selected product images: clear, full-size views without an outer frame. */
.curated-product-grid .curated-product-photo{height:auto;aspect-ratio:1;border:0;border-radius:6px;overflow:hidden;background:transparent}
.curated-product-grid .curated-product-photo img{display:block;width:100%;height:100%;padding:0;object-fit:contain}
.curated-product-photo-ai .curated-ai-caption{position:absolute;bottom:12px;left:12px;padding:4px 7px;border-radius:3px;background:#fdfbf5db;font-size:10px;color:#655b4d}
.curated-product-grid .curated-product-photo b{display:grid;place-items:center;width:30px;height:30px;right:12px;bottom:12px;border-radius:50%;background:#fdfbf5db}

/* T15: compact filters and content-sized error page. */
@media(min-width:801px){.catalog-toolbar{display:none}.catalog-filters{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(180px,1.4fr) auto;align-items:end}.catalog-filters .catalog-search-label{width:auto}.catalog-filters input{margin-top:0}.catalog-filters>*{min-width:0}}
@media(max-width:800px){.catalog-filters .catalog-search-label{grid-column:1/-1;width:100%}.catalog-tools:not(.filters-open) .catalog-filters{display:grid}.catalog-tools:not(.filters-open) .catalog-filters>label:not(.catalog-search-label),.catalog-tools:not(.filters-open) #catalog-reset{display:none}}
.ring-quantity{width:72px;min-height:44px;margin-right:8px}.ring-sizes td:last-child{white-space:nowrap}
body.error-page #app,body.error-page .trade-page{min-height:0;height:auto}body.error-page .trade-page{padding-top:40px;padding-bottom:40px}

@media(min-width:801px){body:has(.catalog-heading) .breadcrumb{padding:14px 0}.catalog-heading{padding:4px 0 12px}.catalog-heading h1{font-size:48px;margin:8px 0}.catalog-heading p{margin:8px 0}.catalog-tabs{margin-bottom:16px}.catalog-filters{padding:14px}.catalog-tools{margin-bottom:12px}.catalog-count{margin:14px 0 12px}.catalog-type-group{margin:16px 0}.catalog-type-group h2{margin-bottom:12px}}

@media(min-width:801px){.catalog-heading h1{margin:4px 0}.catalog-heading{padding-bottom:4px}.catalog-tabs{margin-bottom:12px}}
/* Homepage only: warm breathing space around the neutral product backgrounds. */
.curated-product-section{max-width:1140px;margin-inline:auto;padding-top:72px;padding-bottom:72px}
.curated-product-section .section-heading{margin-bottom:32px}
.curated-product-section .home-fresh-grid{column-gap:32px;row-gap:48px}
.curated-product-section .home-fresh-grid .curated-product-photo{padding:10px;background:#f1ebe2;border:1px solid #e7ddcf;border-radius:8px}
.curated-product-section .home-fresh-grid .curated-product-photo img{border-radius:3px}
.curated-product-section .home-fresh-grid .eyebrow{margin-top:18px}
.curated-product-section .home-fresh-grid h3{min-height:2.8em;margin-top:10px;margin-bottom:8px}
@media(max-width:800px){
 .curated-product-section{padding-top:46px;padding-bottom:48px}
 .curated-product-section .section-heading{margin-bottom:26px}
 .curated-product-section .home-fresh-grid{column-gap:18px;row-gap:34px}
 .curated-product-section .home-fresh-grid .curated-product-photo{padding:6px;margin-bottom:16px;border-radius:6px}
 .curated-product-section .home-fresh-grid .eyebrow{margin-top:0;font-size:9px;letter-spacing:1px}
 .curated-product-section .home-fresh-grid h3{font-size:16px;line-height:1.45}
}
