/* =========================================
SHOP PAGE FOUNDATION
========================================= */

.shop-page {
  overflow-x: hidden;
}

/* =========================================
SHOP HERO
========================================= */

.shop-hero {
  position: relative;

  padding: 160px 0 110px;

  overflow: hidden;
}

.shop-hero::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(139, 92, 246, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(6, 182, 212, 0.15),
      transparent 30%
    );

  pointer-events: none;
}

.shop-hero-content {
  position: relative;

  z-index: 2;

  max-width: 900px;

  margin: 0 auto;

  text-align: center;
}

.shop-title {
  font-size: 72px;

  line-height: 1.1;

  margin: 30px 0;

  letter-spacing: -2px;
}

.shop-description {
  max-width: 760px;

  margin: 0 auto;

  color: var(--light-text);

  font-size: 18px;

  line-height: 1.9;
}

/* =========================================
SHOP CATEGORIES
========================================= */

.shop-categories {
  position: relative;
}

.shop-categories-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;
}

/* =========================================
CATEGORY CARD
========================================= */

.shop-category-card {
  position: relative;

  display: block;

  overflow: hidden;

  min-height: 360px;

  border-radius: 30px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.4s ease;
}

.shop-category-card:hover {
  transform: translateY(-8px);
}

.shop-category-card img {
  width: 100%;

  height: 360px;

  object-fit: cover;

  transition: 0.5s ease;
}

.shop-category-card:hover img {
  transform: scale(1.08);
}

/* =========================================
CATEGORY OVERLAY
========================================= */

.category-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  padding: 30px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.2),
    transparent
  );
}

.category-overlay h3 {
  font-size: 28px;

  margin-bottom: 10px;

  color: white;
}

.category-overlay span {
  color: rgba(255, 255, 255, 0.75);

  font-size: 15px;
}

/* =========================================
SHOP FILTERS SECTION
========================================= */

.shop-filters-section {
  margin-bottom: 60px;
}

/* =========================================
FILTER WRAPPER
========================================= */

.shop-filters-wrapper {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 20px;

  padding: 28px;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
}

/* =========================================
FILTER FORMS
========================================= */

.shop-filters-wrapper form {
  margin: 0;
}

.shop-search-form {
  display: flex;

  align-items: center;

  gap: 14px;

  flex: 1;
}

/* =========================================
INPUTS
========================================= */

.shop-search-form input,
.shop-filters-wrapper select {
  width: 100%;

  min-width: 180px;

  height: 56px;

  padding: 0 20px;

  border-radius: 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.06);

  color: white;

  font-size: 15px;

  transition: 0.3s ease;
}

.shop-search-form input:focus,
.shop-filters-wrapper select:focus {
  outline: none;

  border-color: var(--primary);

  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

/* =========================================
PLACEHOLDER
========================================= */

.shop-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================
SELECT OPTIONS
========================================= */

.shop-filters-wrapper select option {
  background: #070b1a;

  color: white;
}

/* =========================================
SEARCH BUTTON
========================================= */

.shop-search-form button {
  min-width: 140px;

  height: 56px;

  border: none;

  border-radius: 18px;

  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: white;

  font-size: 15px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s ease;
}

.shop-search-form button:hover {
  transform: translateY(-2px);
}

/* =========================================
WOOCOMMERCE RESULT BAR
========================================= */

.woocommerce-result-count,
.woocommerce-ordering {
  margin-bottom: 35px !important;
}

.woocommerce-ordering select {
  height: 52px;

  border-radius: 16px;

  padding: 0 18px;

  background: rgba(255, 255, 255, 0.05);

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================
NO PRODUCTS
========================================= */

.woocommerce-info,
.woocommerce-no-products-found {
  padding: 30px;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================
PAGINATION
========================================= */

.woocommerce nav.woocommerce-pagination {
  margin-top: 70px;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.05);

  color: white;
}

.woocommerce nav.woocommerce-pagination ul li .current {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* =========================================
RESPONSIVE
========================================= */

@media (max-width: 992px) {
  .shop-title {
    font-size: 56px;
  }

  .shop-filters-wrapper {
    flex-direction: column;

    align-items: stretch;
  }

  .shop-search-form {
    flex-direction: column;
  }

  .shop-search-form button {
    width: 100%;
  }
}

/* =========================================
MOBILE
========================================= */

@media (max-width: 768px) {
  .shop-hero {
    padding: 130px 0 90px;
  }

  .shop-title {
    font-size: 40px;

    letter-spacing: 0;
  }

  .shop-description {
    font-size: 16px;
  }

  .shop-category-card {
    min-height: 300px;
  }

  .shop-category-card img {
    height: 300px;
  }

  .category-overlay {
    padding: 24px;
  }

  .category-overlay h3 {
    font-size: 24px;
  }

  .shop-filters-wrapper {
    padding: 22px;
  }
}
