/* Additional theme styles */

/* Ensure proper responsive behavior */
.wp-block-group.alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Custom button hover effects */
.wp-block-button__link:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* WooCommerce product styling */
.wc-block-grid__product {
  text-align: center;
}

/* Responsive navigation */
@media (max-width: 768px) {
  .wp-block-navigation__responsive-container-open
    .wp-block-navigation__responsive-container {
    padding: 2rem;
  }
}

/* Form styling */
input[type='text'],
input[type='email'],
input[type='password'],
textarea {
  border: 1px solid var(--wp--preset--color--light-gray);
  border-radius: 4px;
  padding: 0.75rem;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
textarea:focus {
  border-color: var(--wp--preset--color--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(33, 117, 189, 0.1);
}

.template-categories {
  padding: 60px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.category-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.category-card .icon {
  font-size: 24px;
  background: #e8f0fe;
  color: #004aad;
  padding: 10px;
  border-radius: 10px;
  width: fit-content;
}

.category-card.purple .icon {
  background: #f0e6ff;
  color: #5e3dbf;
}

.category-card h3 {
  margin: 16px 0 4px;
  font-size: 18px;
}

.category-card .count {
  color: #7a7a7a;
  font-size: 14px;
  margin-bottom: 16px;
}

.category-card .product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.category-card .product-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
}

.category-card .price {
  font-weight: 600;
}

.view-btn {
  display: inline-block;
  text-align: center;
  background: #004aad;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 12px;
}

.view-btn.purple {
  background: #5e3dbf;
}

.view-btn:hover {
  opacity: 0.9;
}
