/* Camping Gear page-specific styles */

.gear-hero-section {
  background: linear-gradient(120deg, #101418 75%, #62b6cb22 100%);
  padding: var(--space-16) 0 var(--space-12) 0;
  text-align: center;
}
.gear-hero-content .gear-hero-img {
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}
.hero-actions {
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.featured-gear-section > h2 {
  margin-bottom: var(--space-8);
}
.featured-products-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.categories-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.category-tile {
  cursor: pointer;
  padding: var(--space-6);
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 280px;
  text-align: center;
  transition: box-shadow var(--transition-base), background var(--transition-base);
}
.category-tile:hover,
.category-tile:focus-visible {
  background: var(--color-gray-700);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}
.category-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-4) auto;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.catalog-filters .filter-group {
  flex: 1 1 140px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.catalog-filters label {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.catalog-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.catalog-product-card {
  min-height: 320px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.catalog-product-card img {
  width: 100%;
  max-width: 180px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  align-self: center;
}
.catalog-product-card h3 {
  margin-top: 0;
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}
.catalog-product-card .product-price {
  font-weight: 700;
  color: var(--color-success);
  margin-bottom: var(--space-2);
}
.catalog-product-card .button {
  margin-top: var(--space-3);
  align-self: stretch;
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(16, 20, 24, 0.80);
  animation: fadeIn 0.28s;
}
.product-detail-modal[hidden] {
  display: none !important;
}
.product-detail-content {
  max-width: 430px;
  width: 96vw;
  position: relative;
  padding-top: var(--space-10);
}
.product-detail-content .close-modal-btn {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 2rem;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  color: var(--color-danger);
}
.product-detail-gallery {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.product-detail-gallery img {
  border-radius: var(--radius-md);
  width: 86px;
  height: 56px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
}
.product-detail-gallery img.selected,
.product-detail-gallery img:focus {
  border-color: var(--color-primary);
}
.product-detail-info {
  margin-bottom: var(--space-3);
}
.product-detail-info h3 {
  margin-bottom: var(--space-2);
}
.product-sizes {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.product-availability {
  color: var(--color-success);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.product-reviews-section {
  margin-top: var(--space-6);
  border-top: 1px solid var(--color-gray-700);
  padding-top: var(--space-4);
}
.product-reviews-section h4 {
  font-size: var(--text-base);
}
.product-review {
  margin-bottom: var(--space-4);
}
.product-review:last-child {
  margin-bottom: 0;
}
.product-review .star {
  color: var(--color-warning);
}
.product-related {
  margin-top: var(--space-6);
}
.product-related .button {
  margin-right: var(--space-2);
}

.guide-block ul {
  list-style-type: disc;
  margin-left: 1.2em;
  margin-bottom: 0;
}

.staff-picks ul {
  gap: var(--space-4);
  list-style: none;
}
.staff-pick-btn {
  font-size: var(--text-sm);
  background: var(--color-success);
  color: var(--color-bg);
  margin-bottom: 0;
}

.promotions-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.promotion-block {
  position: relative;
  padding-top: var(--space-10);
  min-height: 210px;
}
.promo-badge {
  position: absolute;
  left: var(--space-5);
  top: var(--space-4);
  background: var(--color-danger);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  padding: 3px 14px;
  z-index: 4;
  box-shadow: var(--shadow-xs);
}
.promo-sale .promo-badge {
  background: var(--color-primary);
}
.promo-bundle .promo-badge {
  background: var(--color-success);
}
.promo-clearance .promo-badge {
  background: var(--color-warning);
  color: var(--color-bg);
}
.promo-timer {
  margin: var(--space-3) 0;
  font-weight: 700;
  color: var(--color-warning);
  font-size: var(--text-sm);
}
.promo-countdown {
  font-family: var(--font-base);
  padding-left: 4px;
  font-size: var(--text-base);
}

.customer-gallery {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: var(--space-8);
}
.customer-photo img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
  margin-bottom: var(--space-3);
}
.stories-cta {
  min-height: 175px;
}

/* Responsive improvements */
@media (max-width: 700px) {
  .catalog-filters {
    flex-direction: column;
    gap: var(--space-4);
  }
  .gear-hero-img {
    max-width: 96vw;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
