/*============= stores hero  =============*/
html{
    scroll-behavior: smooth;
}
.hero-store {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
    background-image: url(../images/oldtools.jpg);
    background-position: center;
    background-size: cover;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-store .hero-content{
    background: rgba(0, 0, 0, 0.3); /* semi-transparent background for better text visibility */
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
}
.hero-store .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.hero-store .hero-content p {
    font-size: 1.5rem;
}
.hero-store .hero-content a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.hero-store .hero-content a:hover {
    background-color: #9C9C9C;
    color: #000;
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .hero-store .hero-content h1 {
        font-size: 2rem;
    }
    .hero-store .hero-content p {
        font-size: 1rem;
    }
}
/*============= stores filter  =============*/
.store-filter {
    padding: 20px;
    background: linear-gradient(145deg, #f2f2f2, #d9d9d9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1), inset 0 2px 4px rgba(255,255,255,0.6);
}

/* Inputs & Select */
.store-filter input[type="text"],
.store-filter select {
    padding: 12px 15px;
    border: 1px solid #bfbfbf;
    border-radius: 8px;
    outline: none;
    background: linear-gradient(145deg, #ffffff, #e5e5e5);
    color: #333;
    transition: all 0.3s ease;
}

/* On focus */
.store-filter input[type="text"]:focus,
.store-filter select:focus {
    border-color: #999;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

/* Custom arrow for select */
.store-filter select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' width='24' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Open state (styled dropdown list) */
.store-filter select:focus option,
.store-filter select option {
    background: #f2f2f2;
    color: #333;
    padding: 10px;
}

/* Button */
.store-filter button {
    padding: 12px 24px;
    background: linear-gradient(145deg, #e5e5e5, #cfcfcf);
    color: #111;
    font-weight: 600;
    border: 1px solid #b5b5b5;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.store-filter button:hover {
    background: linear-gradient(145deg, #dcdcdc, #bfbfbf);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 600px) {
    .store-filter {
        flex-direction: column;
        align-items: stretch;
    }
    .store-filter input[type = "text"]{
        width: 90%;
    }
    .store-filter select,
    .store-filter button {
        width: 100%;
    }
}
/*============= stores flexbox  =============*/
.stores-title{
    text-align: center;
    margin: 20px 0;
    font-size: 2.5rem;
    color: #000000e1;
}
/* Parent section styling stays the same */
.stores {
  background: linear-gradient(145deg, #f0f0f0, #dcdcdc);
  border-radius: 12px;
  box-shadow: 20px 20px 60px #bebebe,
              -20px -20px 60px #ffffff;
  margin: 0 20px 40px 20px;
  padding: 20px 0;
}

/* Flex grid */
.stores .store-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0 20px 40px 20px;
}

/* Store card */
.stores .store-item {
  background: linear-gradient(145deg, #e0e0e0, #cfcfcf);
  border-radius: 12px;
  box-shadow: 10px 10px 20px #bebebe,
              -10px -10px 20px #ffffff;
  flex: 1 1 280px;    
  max-width: 320px;   
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stores .store-item:hover {
  transform: translateY(-10px);
  box-shadow: 15px 15px 30px #bebebe,
              -15px -15px 30px #ffffff;
}

.stores .store-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 15px;
}

.stores .store-item h3 {
  margin-bottom: 10px;
  color: #333;
}

.stores .store-item p {
  color: #555;
  line-height: 1.4;
}
.stores .store-item p.review i{
  color: rgba(255, 217, 0, 0.621);
}
.stores .store-item a {
  color: #007BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.stores .store-item a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/*============= pagination =============*/
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(145deg, #e5e5e5, #b8b8b8);
    box-shadow: 3px 3px 6px #a0a0a0, -3px -3px 6px #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    color: #222;
    font-weight: 500;
    text-decoration: none;
}

.pagination a:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #d1d1d1, #a9a9a9);
    box-shadow: 2px 2px 4px #8c8c8c, -2px -2px 4px #ffffff;
}

.pagination a.active {
    background: linear-gradient(145deg, #111, #333);
    color: #f0f0f0;
    font-weight: bold;
    box-shadow: inset 3px 3px 6px #000, inset -3px -3px 6px #444;
}

/* Responsive design */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;
    }
    
    .pagination a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pagination a {
        padding: 6px 10px;
        font-size: 12px;
    }
}




