.tpl-search-page{max-width:1240px;margin:0 auto;padding:48px 24px 80px;color:#392b20}.tpl-search-nav,.tpl-discover-links{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 32px}.tpl-discover-links{padding:18px 0}.tpl-search-nav button,.tpl-discover-links a,.tpl-search-back,.tpl-search-reset{border:1px solid #baa58a;border-radius:5px;background:#e4d6c0;color:#392b20;padding:12px 18px;cursor:pointer}.tpl-search-nav button[aria-pressed=true]{background:#392b20;color:#f3eadb}.tpl-search-page h1{font-family:Georgia,serif;font-size:clamp(30px,4vw,46px);margin:8px 0 12px}.tpl-search-intro{max-width:700px;margin-bottom:26px}.tpl-search-field{display:block;font-weight:600;margin:24px 0}.tpl-search-field input{display:block;width:100%;background:#f1e8d8!important;border:1px solid #b9a487!important;border-radius:5px;padding:14px;margin-top:8px;min-height:48px;color:#392b20}.tpl-search-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.tpl-search-filters label{font-size:13px;flex:1;min-width:150px}.tpl-search-filters select{display:block;width:100%;background:#e7dac5;padding:10px;border:1px solid #b9a487;margin-top:7px;color:#392b20;min-height:44px}.tpl-search-count{margin:24px 0;color:#6a5743}.tpl-search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.tpl-search-card{background:#e8ddca;padding:16px;border:1px solid #d2bea3;border-radius:6px;color:#392b20!important;display:flex;flex-direction:column;gap:8px}.tpl-search-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#efe6d6;border-radius:4px}.tpl-search-card h2{font-family:Georgia,serif;font-size:23px;margin:6px 0 0}.tpl-search-card p{margin:0}.tpl-search-card small,.tpl-search-creation,.tpl-search-notes{font-size:12px;color:#715e49}.tpl-search-brand{font-weight:700}.tpl-search-card strong{margin-top:auto;padding-top:14px}.tpl-search-card span{font-size:13px;padding-top:7px}.tpl-search-reason{border-top:1px solid #c8b499;padding-top:12px;font-size:13px}.tpl-search-brands,.tpl-search-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tpl-search-brand-button,.tpl-search-choice{padding:24px 20px;border:1px solid #c4b095;border-radius:5px;background:#e5d7c0;color:#392b20;text-align:left;font-size:18px;cursor:pointer}.tpl-search-brand-button small,.tpl-search-choice small{display:block;margin-top:9px;font-size:13px;line-height:1.5}.tpl-search-choice[aria-pressed=true]{background:#392b20;color:#f5ead8}.tpl-search-more{display:block;background:#392b20;color:#f5ead8;border:0;border-radius:5px;padding:14px 24px;margin:24px 0;cursor:pointer}.tpl-search-more:disabled{opacity:.45;cursor:not-allowed}.tpl-search-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px}.tpl-search-letter{font-family:Georgia,serif;margin:32px 0 14px}.tpl-search-empty{padding:32px;background:#e6d9c5}.tpl-search-page button:focus-visible,.tpl-search-page a:focus-visible{outline:3px solid #93744b;outline-offset:4px}.tpl-home-discover{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tpl-home-discover a{background:#e5d7c0;padding:26px;color:#392b20}.tpl-home-discover strong{display:block;font-family:Georgia,serif;font-size:24px;margin-bottom:12px}.tpl-home-discover span{font-size:14px}@media(max-width:800px){.tpl-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl-search-brands,.tpl-search-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl-home-discover{grid-template-columns:1fr}}@media(max-width:480px){.tpl-search-page{padding:28px 14px 70px}.tpl-search-grid{gap:12px}.tpl-search-card{padding:10px}.tpl-search-card h2{font-size:18px}.tpl-search-brands,.tpl-search-choices{grid-template-columns:1fr}.tpl-search-nav{gap:8px}.tpl-search-nav button{padding:10px;font-size:12px}.tpl-search-filters{gap:10px}}
/* Explicit scope prevents the theme button styles from flattening brand cards. */
#tpl-search-app{font-size:16px;line-height:1.6;max-width:1180px;padding-top:40px}
#tpl-search-app .tpl-search-brand-button{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;white-space:normal!important;height:auto!important;min-height:124px!important;padding:24px!important;border:1px solid #bca586!important;border-radius:16px!important;background:#e4d5bd!important;color:#392b20!important;text-align:left!important;text-transform:none!important;line-height:1.4!important;box-shadow:none!important}
#tpl-search-app .tpl-brand-name{display:block;font-family:Georgia,serif;font-size:24px!important;font-weight:700!important;line-height:1.25!important;overflow-wrap:anywhere}
#tpl-search-app .tpl-search-brand-button small{display:block!important;margin-top:12px!important;font-size:14px!important;font-weight:400!important;color:#705c46!important}
#tpl-search-app .tpl-search-brand-button:hover{background:#d9c5a7!important;border-color:#806448!important}
#tpl-search-app .tpl-search-letter{font-size:28px;margin-top:36px;border-bottom:1px solid #cdbb9e;padding-bottom:10px}
#tpl-search-app .tpl-search-nav button,#tpl-search-app .tpl-search-choice{height:auto!important;white-space:normal!important;text-transform:none!important;font-size:16px!important;line-height:1.5!important}
#tpl-search-app .tpl-search-nav button{padding:14px 22px!important;border-radius:10px!important}
#tpl-search-app .tpl-search-brand{font-size:19px;font-weight:700;color:#392b20}
#tpl-search-app .tpl-search-creation{font-size:13px;font-weight:400}
h1.product_title .tpl-original-name{display:block;font-size:clamp(30px,4vw,44px);line-height:1.2}
h1.product_title .tpl-original-brand{display:block;font-family:inherit;font-size:24px;font-weight:700;margin-top:10px;line-height:1.3}
h1.product_title .tpl-our-creation{display:block;font-family:Arial,sans-serif;font-size:15px;font-weight:400;margin:14px 0;color:#715e49;line-height:1.5}
.product .wd-entities-title .tpl-original-name,.product .woocommerce-loop-product__title .tpl-original-name,.product .product-title .tpl-original-name{display:block;font-size:20px;font-weight:600;line-height:1.3}
.product .tpl-original-brand{display:block;font-size:17px;font-weight:700;margin-top:6px;line-height:1.4}
.product .tpl-our-creation{display:block;font-size:12px;font-weight:400;margin-top:8px;color:#715e49;line-height:1.5}
@media(max-width:600px){#tpl-search-app .tpl-search-brands{grid-template-columns:1fr}#tpl-search-app .tpl-search-brand-button{min-height:110px!important}#tpl-search-app .tpl-brand-name{font-size:23px!important}}
