2026-01-18 18:57:06 +04:00
|
|
|
.search-container {
|
|
|
|
|
max-width: 1200px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 20px;
|
2026-02-14 02:34:11 +04:00
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-header {
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
margin-bottom: 20px;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #1e3c38;
|
2026-01-18 18:57:06 +04:00
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-box {
|
|
|
|
|
position: relative;
|
|
|
|
|
max-width: 600px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
|
|
|
|
.search-input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 16px 50px 16px 20px;
|
|
|
|
|
font-size: 1.1rem;
|
2026-02-14 02:34:11 +04:00
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
|
|
|
border: 2px solid #d3dad9;
|
|
|
|
|
border-radius: 13px;
|
2026-01-18 18:57:06 +04:00
|
|
|
outline: none;
|
|
|
|
|
transition: border-color 0.2s;
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
border-color: var(--primary-color);
|
2026-02-14 02:34:11 +04:00
|
|
|
box-shadow: 0 0 0 3px rgba(73, 118, 113, 0.1);
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-icon {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 20px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
2026-02-14 02:34:11 +04:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-01-18 18:57:06 +04:00
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.results-count {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 24px;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #1e3c38;
|
2026-01-18 18:57:06 +04:00
|
|
|
font-size: 1.1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.empty-state,
|
|
|
|
|
.no-results,
|
|
|
|
|
.loading-initial {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 60px 20px;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #697777;
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-results {
|
|
|
|
|
.no-results-icon {
|
|
|
|
|
margin-bottom: 20px;
|
2026-02-14 02:34:11 +04:00
|
|
|
opacity: 0.5;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
|
font-size: 1.5rem;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #1e3c38;
|
2026-01-18 18:57:06 +04:00
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
margin: 8px 0;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #697777;
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hint {
|
|
|
|
|
font-size: 0.9rem;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #a1b4b5;
|
2026-01-18 18:57:06 +04:00
|
|
|
margin-top: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.error {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 60px 20px;
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
padding: 10px 24px;
|
|
|
|
|
background: var(--primary-color);
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
2026-02-14 02:34:11 +04:00
|
|
|
border-radius: 13px;
|
2026-01-18 18:57:06 +04:00
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 1rem;
|
2026-02-14 02:34:11 +04:00
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: var(--primary-hover);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.items-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
|
|
|
gap: 24px;
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-card {
|
|
|
|
|
background: white;
|
2026-02-14 02:34:11 +04:00
|
|
|
border-radius: 13px;
|
|
|
|
|
border: 1px solid #d3dad9;
|
|
|
|
|
box-shadow: 0 3px 4px rgba(0, 0, 0, 0.08);
|
2026-01-18 18:57:06 +04:00
|
|
|
overflow: hidden;
|
|
|
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
transform: translateY(-4px);
|
2026-02-14 02:34:11 +04:00
|
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-link {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-image {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding-top: 75%;
|
|
|
|
|
background: #f5f5f5;
|
|
|
|
|
overflow: hidden;
|
2026-02-14 02:34:11 +04:00
|
|
|
border-radius: 13px;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2026-01-22 12:38:21 +04:00
|
|
|
object-fit: contain;
|
|
|
|
|
background: white;
|
2026-01-23 00:34:16 +04:00
|
|
|
padding: 12px;
|
|
|
|
|
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
|
|
|
|
|
filter: drop-shadow(0 2px 6px rgba(0,0,0,0.06));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover img {
|
|
|
|
|
transform: scale(1.06) translateY(-2px);
|
|
|
|
|
filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15)) brightness(1.03);
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.discount-badge {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 12px;
|
|
|
|
|
right: 12px;
|
2026-02-14 02:34:11 +04:00
|
|
|
background: #ef4444;
|
2026-01-18 18:57:06 +04:00
|
|
|
color: white;
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-details {
|
|
|
|
|
padding: 16px;
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-name {
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
margin: 0;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #1e3c38;
|
2026-01-18 18:57:06 +04:00
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
line-clamp: 2;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-rating {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
font-size: 0.9rem;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #1e3c38;
|
2026-01-18 18:57:06 +04:00
|
|
|
|
|
|
|
|
.rating-stars {
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #497671;
|
2026-01-18 18:57:06 +04:00
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-price {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
margin-top: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.original-price {
|
|
|
|
|
text-decoration: line-through;
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #697777;
|
2026-01-18 18:57:06 +04:00
|
|
|
font-size: 0.9rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.discounted-price,
|
|
|
|
|
.current-price {
|
|
|
|
|
font-size: 1.3rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--primary-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-stock {
|
|
|
|
|
.stock-bar {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.bar-segment {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 6px;
|
2026-02-14 02:34:11 +04:00
|
|
|
background: #d3dad9;
|
2026-01-18 18:57:06 +04:00
|
|
|
border-radius: 3px;
|
|
|
|
|
transition: background 0.2s;
|
|
|
|
|
|
|
|
|
|
&.filled.high {
|
|
|
|
|
background: #2ed573;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.filled.medium {
|
|
|
|
|
background: #ffa502;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.filled.low {
|
2026-02-14 02:34:11 +04:00
|
|
|
background: #ef4444;
|
2026-01-18 18:57:06 +04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.add-to-cart-btn {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
background: var(--primary-color);
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
2026-02-14 02:34:11 +04:00
|
|
|
border-radius: 0 0 13px 13px;
|
2026-01-18 18:57:06 +04:00
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 600;
|
2026-02-14 02:34:11 +04:00
|
|
|
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
2026-01-18 18:57:06 +04:00
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.2s;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: var(--primary-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
transform: scale(0.98);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.loading-more {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 40px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.spinner {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border: 4px solid #f3f3f3;
|
|
|
|
|
border-top: 4px solid var(--primary-color);
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
animation: spin 1s linear infinite;
|
|
|
|
|
margin: 0 auto 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
|
100% { transform: rotate(360deg); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-more {
|
2026-02-14 02:34:11 +04:00
|
|
|
color: #697777;
|
2026-01-18 18:57:06 +04:00
|
|
|
padding: 40px 20px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.search-header h1 {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.items-grid {
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
|
|
|
gap: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.item-name {
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.discounted-price,
|
|
|
|
|
.current-price {
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
}
|
|
|
|
|
}
|