/* Scope all additions to public search. Existing page preloader is untouched. */
.search-popup.artizana-global-search[aria-hidden="true"] { visibility:hidden; pointer-events:none; }
.search-popup.artizana-global-search { overflow:auto; }
.search-popup.artizana-global-search form { inset-inline:clamp(12px,5vw,70px); max-width:920px; background:#fff; top:76px; border-radius:12px; box-shadow:0 12px 38px #21171926; }
.search-popup.artizana-global-search .color-layer { height:100%; background:rgba(32,24,25,.62); }
.search-popup.artizana-global-search .close-search { inset-inline-end:24px; inset-inline-start:auto; }
.search-popup.artizana-global-search .close-search span { color:#fff; }
.search-popup.artizana-global-search .form-group { border-radius:12px; }
.search-popup.artizana-global-search .form-group input[type="search"] { padding-inline:18px 65px; text-transform:none; }
.search-popup.artizana-global-search .form-group button { inset-inline-end:16px; inset-inline-start:auto; color:var(--main-color,#802838); }
.artizana-global-search [hidden] { display:none!important; }
.artizana-global-search .gs-panel { padding:12px 18px 16px; max-height:calc(100vh - 170px); overflow:auto; }
.gs-status { margin:0; color:#68595c; font-size:15px; }
.gs-suggestions { list-style:none; margin:0; padding:0; }
.gs-suggestions a { display:flex; gap:12px; justify-content:space-between; align-items:center; padding:12px 6px; border-block-end:1px solid #eee5e7; color:#382b2e; overflow-wrap:anywhere; }
.gs-suggestions a:hover,.gs-suggestions a:focus-visible { color:var(--main-color,#802838); background:#f8f2f3; outline-offset:-2px; }
.gs-suggestions small { color:#705a5f; flex:none; max-width:40%; }
.gs-view-all,.gs-submit { display:block; margin-block-start:12px; background:var(--main-color,#802838); color:white; border:0; border-radius:8px; padding:10px 18px; text-align:center; }
.gs-skeleton span { display:block; height:44px; border-radius:6px; margin-block:8px; background:linear-gradient(100deg,#eee8e9 25%,#faf7f7 50%,#eee8e9 75%); background-size:200% 100%; animation:gs-shimmer 1.3s linear infinite; }
@keyframes gs-shimmer {to{background-position:-200% 0;}}
@media(prefers-reduced-motion:reduce){.gs-skeleton span{animation:none;}}
.gs-results .gs-form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; max-width:960px; margin:0 auto 28px; }
.gs-results .gs-form label { display:flex; flex-direction:column; gap:6px; color:#45373b; }
.gs-results .gs-form label:first-child { flex:1 1 240px; }
.gs-results .gs-form input,.gs-results .gs-form select { min-height:48px; border:1px solid #dcd0d2; border-radius:8px; padding:10px 14px; background:white; color:#382b2e; }
.gs-results .gs-submit { margin:0; min-height:48px; }
.gs-results .gs-count { margin-block:16px; color:#68595c; }
.gs-results .gs-type { display:block; color:#715b61; font-size:14px; }
.gs-results .gs-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px; padding:28px 0; }
.gs-results .gs-pagination a { color:var(--main-color,#802838); border:1px solid #ded3d5; border-radius:8px; padding:8px 16px; }
.gs-results .gs-message { text-align:center; padding:36px 12px; color:#68595c; }
@media(max-width:480px){.gs-suggestions a{flex-direction:column; align-items:flex-start;gap:4px;} .gs-suggestions small{max-width:100%;} .gs-results .gs-form label{flex:1 1 100%;} }

/* Match the approved catalog product card surfaces in all search results. */
.gs-results .gs-result-card .artizana-catalog-image { background-color: #ffffff; }
.gs-results .gs-result-card .artizana-catalog-card-body { background-color: #f9f6f4; }
