:root{--modal-bg: rgba(255, 255, 255, .98);--container-bg: #f5f5f5;--card-bg: #ffffff;--accent: #dc143c;--text-primary: #333333;--text-secondary: #666666;--border-color: #e0e0e0;--border-radius: 8px;--shadow: 0 5px 25px rgba(0, 0, 0, .1);--spacing: 1rem;--transition: all .22s cubic-bezier(.34,1.19,.45,1.01);--input-bg: #f8f8f8;--input-color: #333}body.modal-open{overflow:hidden}.search-modal{visibility:hidden;opacity:0;position:fixed;top:60px;right:10px;left:auto;width:90vw;max-width:400px;height:auto;max-height:70vh;z-index:99999;display:flex;flex-direction:column;overflow-y:auto;background:var(--modal-bg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:var(--transition);pointer-events:none;border-radius:var(--border-radius);box-shadow:0 10px 40px #00000080}.search-modal.opened{visibility:visible;opacity:1;pointer-events:all}.search-modal:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:-1;opacity:0;transition:opacity .3s;pointer-events:none}.search-modal.opened:before{opacity:1;pointer-events:all}.search-modal .close-search{font-size:1.8rem;background:var(--accent);border:none;color:#fff;cursor:pointer;position:absolute;top:.5rem;right:.5rem;z-index:11;transition:all .14s;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;line-height:1;font-weight:300}.search-modal .close-search:hover{background:#b91230;transform:scale(1.1)}.search-modal .close-search:focus{outline:2px solid var(--accent)}.search-bar{width:100%;margin:0;padding:1rem;display:flex;align-items:center;background:var(--input-bg);border-radius:var(--border-radius);border:2px solid var(--border-color);position:relative}.search-bar input[type=search]{flex:1;border:none;outline:none;background:transparent;color:var(--input-color);font-size:1rem;padding:.5em;border-radius:var(--border-radius);font-family:inherit}.search-bar input:focus{outline:none}.search-bar input[type=search]::-webkit-search-cancel-button,.search-bar input[type=search]::-webkit-search-decoration,.search-bar input[type=search]::-webkit-search-results-button,.search-bar input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none;display:none}.search-bar input[type=search]::-ms-clear{display:none;width:0;height:0}.search-bar input::placeholder{color:var(--text-secondary)}.search-bar input:focus::placeholder{color:var(--accent)}.search-bar .clear{background:none;border:none;color:var(--text-secondary);font-size:1.4em;margin-left:.5em;cursor:pointer;display:none;padding:0;line-height:1;transition:color .2s}.search-bar .clear:hover{color:var(--accent)}.search-result{width:100%;margin:0;padding:1rem;display:grid;grid-template-columns:1fr;gap:1rem;max-height:50vh;overflow-y:auto}.product-card{background:var(--card-bg);border-radius:8px;box-shadow:0 2px 8px #00000014;border:1px solid var(--border-color);overflow:hidden;padding:.8rem;display:flex;flex-direction:row;align-items:center;gap:.8rem;text-align:left;transition:all .19s;min-height:90px;flex-shrink:0}.product-card:hover,.product-card:focus-within{box-shadow:0 4px 16px #dc143c26;border-color:var(--accent);transform:translateY(-2px)}.product-card .grid-product__secondary-image,.product-card img{display:block;width:70px;height:70px;flex-shrink:0;object-fit:cover;border-radius:6px;margin-bottom:0;background:#f5f5f5;border:1px solid var(--border-color)}.product-card .product-placeholder{width:70px;height:70px;flex-shrink:0;background:#f5f5f5;border-radius:6px;border:1px solid var(--border-color)}.product-card .product-info{flex:1;min-width:0;overflow:hidden}.product-card .product-title{color:var(--text-primary);font-size:.9rem;margin:0 0 .3rem;font-weight:500;transition:color .14s;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3;max-height:2.6em}.product-card .product-price{color:var(--accent);font-size:.95rem;font-weight:600;margin:0;white-space:nowrap}.product-card a{color:inherit;text-decoration:none;outline:none}.product-card a:hover .product-title{color:var(--accent)}.search-loading,.search-no-results,.search-error{color:var(--text-secondary);padding:2rem 1rem;text-align:center;font-size:.95rem}.search-error{color:var(--accent)}.search-load-more{display:block;width:100%;padding:14px 20px;margin-top:.5rem;background:linear-gradient(135deg,#fd0e35,#d10c2e);color:#fff;font-size:.95rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #fd0e3540;text-decoration:none;text-align:center}.search-load-more:hover{background:linear-gradient(135deg,#d10c2e,#b00a27);box-shadow:0 4px 12px #fd0e3559;transform:translateY(-1px);color:#fff}.search-load-more:active{transform:translateY(0)}.search-result>div[style*=color]{color:var(--text-secondary)!important;padding:2rem 1rem;text-align:center;font-size:.95rem}@media screen and (max-width: 767px){.search-modal{top:60px;right:5px;left:5px;width:auto;max-width:none;max-height:80vh}.search-bar{margin:0;padding:.8rem;font-size:.9rem;flex-shrink:0}.search-result{grid-template-columns:1fr;padding:.8rem;gap:.6rem;overflow-y:auto;max-height:calc(80vh - 80px)}.product-card{padding:.6rem;min-height:80px}.product-card img,.product-card .product-placeholder{width:60px;height:60px}.product-card .product-title{font-size:.85rem;-webkit-line-clamp:2;line-height:1.25;max-height:2.5em}.product-card .product-price{font-size:.9rem}.search-modal .close-search{font-size:1.5rem;right:.3rem;top:.3rem}.search-load-more{padding:12px 16px;font-size:.9rem;margin-top:.4rem}}
/*# sourceMappingURL=/cdn/shop/t/85/assets/search.css.map */
