/* Buyer navigation: prioritize the query and its results. */
.is-product-catalog .header-story-row,.is-product-catalog .reference-tabs{display:none}
.search-page-heading{background:#fff;padding:20px 0 8px}
.search-page-heading .breadcrumbs{margin-bottom:12px}
.search-page-heading .eyebrow,.search-page-heading>div>p{display:none}
.search-page-heading h1{font-size:28px;margin:0;line-height:1.3;overflow-wrap:anywhere}
.is-product-catalog .catalog-content{padding-top:4px}
.catalog-demo-note{font-size:12px;color:#687287;margin:6px 0 18px;line-height:1.5}
.catalog-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-bottom:12px}
.catalog-filter-toggle{display:none}
.catalog-sort{display:flex;gap:8px;align-items:center;font-size:13px;color:#53627a}
.catalog-sort select{min-height:44px;border:1px solid #bcc8da;background:#fff;padding:8px 12px}
.catalog-filter-panel{border:1px solid #e1e7f0;border-radius:10px;padding:0 16px;background:#fafbfd}
.catalog-filter-panel .catalog-tools{margin:16px 0}
.catalog-filter-panel .filter-row{margin-top:0}
.catalog-filter-done{display:none}
.catalog-demo-note+.catalog-toolbar{margin-top:0}

/* Desktop results alongside the filters. Mobile keeps its existing collapsible layout. */
@media(min-width:651px){
 .catalog-search-layout{display:grid;grid-template-columns:250px minmax(0,1fr);column-gap:26px;align-items:start;padding-top:18px!important}
 .catalog-search-layout>.catalog-toolbar{grid-column:2;grid-row:1;margin:0 0 10px}
 .catalog-search-layout>.catalog-filter-panel,.catalog-shop-results>.catalog-tools{grid-column:1;grid-row:1 / span 4;margin:0;min-width:0}
 .catalog-search-layout>.results-heading{grid-column:2;grid-row:2;margin:6px 0 16px}
 .catalog-search-layout>.product-grid,.catalog-search-layout>.shop-grid,.catalog-search-layout>.empty-state{grid-column:2;grid-row:3;min-width:0}
 .catalog-search-layout>.section{grid-column:2;grid-row:4;min-width:0}
 .catalog-search-layout>.product-grid,.catalog-search-layout>.shop-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:22px 16px}
 .catalog-search-layout .filter-row{display:grid;grid-template-columns:1fr;gap:15px}
 .catalog-search-layout .filter-select{width:100%;min-width:0}
 .catalog-search-layout .filter-select select{width:100%;min-width:0}
 .catalog-search-layout .catalog-purchase-filters{grid-template-columns:1fr;gap:20px;margin-top:18px;padding-top:18px}
 .catalog-search-layout .service-filters{grid-template-columns:1fr;gap:10px}
 .catalog-search-layout .service-filters label{font-size:13px}
 .catalog-search-layout .service-filters legend{font-size:13px}
 .catalog-search-layout .clear-filters{justify-self:start;margin:0}
 .catalog-shop-results>.catalog-tools{padding:16px;border:1px solid #e1e7f0;border-radius:10px;background:#fafbfd}
 .catalog-shop-results>.catalog-tools .search-form{min-width:0;padding:8px;gap:5px;margin:0 0 18px}
 .catalog-shop-results>.catalog-tools .search-form input{width:0;min-width:0;font-size:13px}
 .catalog-shop-results>.catalog-tools .search-form .button{padding:8px;min-width:32px}
}
@media(min-width:651px) and (max-width:850px){
 .catalog-search-layout{grid-template-columns:210px minmax(0,1fr);column-gap:16px}
 .catalog-search-layout>.product-grid,.catalog-search-layout>.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 .catalog-search-layout>.catalog-filter-panel,.catalog-shop-results>.catalog-tools{padding-left:12px;padding-right:12px}
 .catalog-search-layout>.results-heading>span{display:none}
}

@media(max-width:650px){
 .header-inner{height:auto;min-height:112px;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;padding-top:6px;padding-bottom:10px}
 .header .brand-logo{width:112px;height:45px}
 .header-actions{grid-column:2;justify-self:end;gap:10px;height:46px}
 .header-actions a,.header-actions a:nth-child(2){display:flex;flex-direction:column;width:auto;min-width:46px;min-height:44px;height:auto;gap:3px;justify-content:center}
 .header-actions a span{display:block;font-size:10px}
 .header-actions .icon{height:19px;width:19px}
 .header-search{grid-column:1/-1;grid-row:2;position:static;width:100%;height:44px;max-width:none;margin:0;padding-left:12px}
 .header-search input{font-size:16px;padding:10px 0}
 .header-search button{height:42px;width:44px}
 .search-page-heading{padding:14px 0 8px}
 .search-page-heading .breadcrumbs{display:none}
 .search-page-heading h1{font-size:23px;font-weight:650;letter-spacing:-.3px}
 .catalog-demo-note{font-size:11px;margin:0 0 13px}
 .catalog-toolbar{justify-content:space-between;gap:10px;margin-bottom:6px}
 .catalog-filter-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid #aabbd5;color:#315fa3;background:#fff;padding:9px 12px;font-size:14px;font-weight:600}
 .catalog-filter-toggle .icon{width:18px;height:18px}
 .catalog-sort{gap:6px;font-size:12px;min-width:0}
 .catalog-sort select{max-width:158px;min-width:0;font-size:13px;padding:8px}
 .catalog-filter-panel{display:none;margin:12px 0}
 .catalog-filter-panel.is-open{display:block}
 .catalog-filter-panel .filter-row{grid-template-columns:1fr 1fr}
 .catalog-filter-panel .filter-select span{font-size:12px;color:#4c5c73}
 .catalog-filter-panel select{min-height:44px;font-size:13px}
 .catalog-filter-panel .service-filters label{min-height:44px;font-size:13px}
 .catalog-filter-panel .clear-filters{min-height:44px;font-size:13px}
 .catalog-filter-done{display:flex;width:100%;margin:0 0 16px;min-height:44px}
 .is-product-catalog .results-heading{margin:14px 0;font-size:12px;scroll-margin-top:12px}
 .is-product-catalog .results-heading>span{display:none}
 .is-product-catalog .product-title{font-size:14px}
 .is-product-catalog .price-line strong{font-size:19px;font-weight:650}
 .is-product-catalog .product-shop{font-size:12px}
 .is-product-catalog .card-wholesale{font-size:11px;color:#637084}

}

/* The query is already visible in the search field; retain only an accessible heading. */
.page-heading.query-heading-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Compact publication layout shared by every seller and product. */
.publication-mobile-header,.publication-mobile-gallery,.publication-share-mobile{display:none}
.publication-page{padding-top:16px;padding-bottom:28px}
.publication-title{margin-bottom:12px;font-size:25px}
.publication-tabs{margin-bottom:16px}
.publication-tabs a{padding:9px 2px}
.publication-layout{padding:16px;gap:24px}
.publication-main-photo{height:440px}
.publication-summary h2{font-size:23px;margin-bottom:8px}
.publication-price{font-size:31px;margin-bottom:3px}
.publication-price-kind{margin-bottom:7px;font-size:11px}
.publication-buying{padding:0;margin:0 0 10px;border:0}
.publication-buying p{font-size:12px;margin:2px 0;line-height:1.4}
.publication-contact{margin-top:8px}
.publication-whatsapp{min-height:44px;padding:11px 14px;font-size:14px}
.publication-contact p{margin:5px 0 8px;font-size:10px;line-height:1.4}
.publication-services{padding:9px 10px;margin:10px 0}
.publication-services h3{font-size:12px;margin:0 0 6px}
.publication-services small{display:none}
.publication-seller{padding:10px;border-radius:7px}
.publication-avatar{width:38px;height:38px}
.publication-seller-link strong{font-size:14px;margin-bottom:2px}
.publication-seller-link span:not(.publication-avatar):not(.avatar-initials){font-size:11px}
.publication-seller-link small{display:none}
.publication-store-link{margin-top:7px;padding-top:7px;font-size:11px}
.publication-seller>.plan-badge{margin-top:6px}
.publication-share{padding:8px;font-size:12px}
.publication-details{padding:12px 0 0;margin:0;border-top:1px solid #e4e8ee;border-radius:0}
.publication-details h2{font-size:16px;margin:0 0 6px}
.publication-description{font-size:13px;line-height:1.5;margin:0 0 8px}
.publication-details dl{margin:6px 0 0}
.publication-details dl>div{grid-template-columns:115px 1fr;gap:8px;padding:6px 0;font-size:12px;line-height:1.4}
.publication-extra-details{font-size:11px;color:#687287;margin-top:7px}
.publication-extra-details summary{cursor:pointer;padding:7px 0;min-height:30px}
.publication-related{margin-top:22px}
.publication-related .section-heading{margin-bottom:12px}
.publication-related h2{font-size:20px}
.publication-social{padding-top:5px}
.publication-video-button{margin-top:7px;padding:9px;font-size:12px}
@media(max-width:650px){
 body[data-page=product]{padding-bottom:0;background:#f7f8fa}
 body[data-page=product] #site-header{display:none}
 body[data-page=product] .toast-region{bottom:20px}
 .publication-page{padding:0 0 24px}
 .publication-page>.breadcrumbs{display:none}
 .publication-page>.publication-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:-1px;padding:0}
 .publication-mobile-header{display:flex;align-items:center;gap:5px;min-height:54px;background:#fff;padding:4px 10px;border-bottom:1px solid #edf0f4}
 .publication-mobile-header>a:first-child{display:grid;place-items:center;width:40px;height:44px;flex-shrink:0;color:#263343}
 .publication-mobile-header .icon{transform:rotate(180deg);width:21px}
 .publication-mobile-shop{font-size:17px;font-weight:650;line-height:1.25;padding:10px 0;overflow-wrap:anywhere;color:#202a36}
 .publication-tabs{margin:0;background:white;gap:0;justify-content:space-around;padding:0 12px}
 .publication-tabs a{padding:12px 4px;min-height:44px;font-size:14px}
 .publication-layout{display:block;padding:0;background:white;border-radius:0}
 .publication-gallery{padding:0;border-radius:0}
 .publication-gallery-layout{display:none}
 .publication-mobile-gallery{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
 .publication-mobile-gallery::-webkit-scrollbar{display:none}
 .publication-slide{display:block;position:relative;flex:0 0 100%;width:100%;aspect-ratio:1;border:0;border-radius:0;padding:0;background:#f5f5f5;scroll-snap-align:start;scroll-snap-stop:always;cursor:zoom-in}
 .publication-slide img{width:100%;height:100%;object-fit:contain}
 .publication-slide>.publication-slide-count{position:absolute;right:12px;bottom:10px;background:#fffffff0;border-radius:14px;padding:4px 9px;font-size:11px;color:#4d596a}
 .publication-social{padding:2px 10px 2px 14px;min-height:44px;gap:4px}
 .publication-social .publication-views{margin-right:auto}
 .publication-share-mobile{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;padding:10px;border:0;border-radius:8px;background:transparent;color:#577fce;cursor:pointer}
 .publication-share-mobile .icon{width:22px;height:22px}
 .publication-share-mobile:hover{background:#f0f4fc}
 .publication-share-mobile:focus-visible{outline:2px solid #577fce;outline-offset:2px}
 .publication-views{font-size:10px}
 .publication-favorite{padding:10px;min-height:44px;min-width:44px;flex-shrink:0;justify-content:center}
 .publication-video-button{margin:0 14px 6px;width:calc(100% - 28px);padding:7px;min-height:36px}
 .publication-summary{padding:10px 16px 14px;border-radius:0;display:flex;flex-direction:column}
 .publication-summary>h2{display:block;font-size:22px;margin:0 0 7px;order:1}
 .publication-desktop-price{display:contents}
 .publication-price{order:0;font-size:28px;margin:0 0 5px}
 .publication-price-kind{order:2;margin-bottom:4px;font-size:11px}
 .publication-buying{order:3;margin:0 0 4px}
 .publication-contact{order:4;margin-top:6px}
 .publication-contact .publication-whatsapp{min-height:46px;font-size:15px}
 .publication-services{order:5;margin:6px 0 9px}
 .publication-seller{order:6}
 .publication-summary>.publication-share{display:none}
 .publication-details{order:8;padding-top:10px}
 .publication-details dl>div{grid-template-columns:110px 1fr;gap:8px;padding:6px 0}
 .publication-related{padding:0 13px;margin-top:20px}
 .publication-related h2{font-size:18px;max-width:235px}
 .publication-store-panel{padding:16px;border-radius:0;gap:14px}
 .publication-store-panel .publication-description{margin-top:12px}
 .publication-store-facts>div{padding:9px 0}
}
