/* ===== STORE HERO SECTION ===== */
.store-hero {
  background: linear-gradient(rgba(13, 43, 123, 0.8), rgba(13, 43, 123, 0.9)), 
              url('../images/store-banner.jpg') center/cover;
  color: white;
  padding: 8rem 0 4rem;
  text-align: center;
}

.store-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.store-hero .subtitle {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  padding: 4rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--dark);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--primary);
}

.category-icon {
  width: 80px;
  height: 80px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--primary);
  color: white;
}

.category-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

/* ===== FEATURED PRODUCTS SECTION ===== */
.featured-products {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.quick-view {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .quick-view {
  opacity: 1;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.price {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.wishlist-btn {
  background: none;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.wishlist-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== CART SECTION ===== */
.cart-section {
  padding: 4rem 0;
}

.cart-preview {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: var(--light);
  border-bottom: 1px solid var(--light-gray);
}

.items-count {
  background: var(--primary);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.cart-items {
  padding: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.item-details {
  flex: 1;
}

.item-details h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.remove-item {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.remove-item:hover {
  color: var(--accent);
}

.cart-summary {
  padding: 1.5rem;
  background: var(--light);
  border-top: 1px solid var(--light-gray);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.summary-row.total {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .store-hero h1 {
    font-size: 2.2rem;
  }
  
  .cart-preview {
    margin: 0;
  }
}