.store-hero {
  padding: 110px 20px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.store-hero h2 {
  font-size: 42px;
  margin-bottom: 12px;
  background: var(--gold);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-hero p {
  font-size: 15px;
  opacity: 0.8;
}

.store-search {
  padding: 18px 20px;
  display: flex;
  justify-content: center;
}

#searchInput {
  width: 28vw;
  padding: 12px 20px;
  border-radius: 28px;
  border: 1px solid var(--border-soft);
  background: #0f0f0f;
  color: var(--silver);
}

.store-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 40px 60px 70px;
}

.filters {
  background: linear-gradient(180deg, #161616, #0f0f0f);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 26px;
  height: fit-content;
}

.filters h3 {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--silver);
}

.filter-group {
  margin-bottom: 22px;
}

.filter-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  opacity: 0.85;
}

.price-inputs {
  display: flex;
  gap: 10px;
}

.price-inputs input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #0f0f0f;
  color: var(--silver);
  width: 50%;
}

.store-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.product-card {
  background: linear-gradient(180deg, #181818, #101010);
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(212,175,55,0.15);
}

.product-image {
  height: 300px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🔥 Blurred background layer */
.product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;   /* same image */
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.2);       /* avoid blur edges */
  z-index: 1;
}

/* 🔥 Main image (full visible, no crop) */
.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 2;
  position: relative;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

/* optional dark overlay */
.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.product-content {
  padding: 24px;
}

.product-content h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--silver);
}

.product-content p {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 12px;
}

.price {
  font-weight: 600;
  margin-bottom: 14px;
  background: var(--gold);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-actions {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  display: flex;
  gap: 10px;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  flex: 1;              /* equal width buttons */
  padding: 11px;
  border-radius: 22px;
  border: none;
  background: var(--gold);
  color: #000;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}
.btn:hover{
  filter: brightness(0.8);
}

#noResults {
  display: none;
  opacity: 0.7;
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 900px) {
  .store-container {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}
.pagination {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* center vertically */
  gap: 15px;                 /* spacing between items */
  margin: 40px 0;
}

/* Page number */
.page-number {
  font-size: 18px;
  color: #ccc;
  font-weight: 500;
}

/* Buttons */
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;             /* IMPORTANT */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

/* Hover */
.page-btn:hover {
  background: white;
  color: black;
}

/* Store refresh */
body {
  background:
    radial-gradient(circle at 8% 8%, rgba(215, 175, 93, 0.1), transparent 24%),
    linear-gradient(180deg, #0b0d0d 0%, #101416 100%);
}

header {
  background: rgba(10, 12, 14, 0.9);
}

.store-header-inner {
  width: min(1280px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.store-header-inner .logo {
  padding: 0;
  flex-shrink: 0;
}

.store-header-inner .logo img {
  width: 132px;
}

.store-header-inner nav {
  flex: 1;
}

.store-header-inner nav a.active,
.store-header-inner nav a:hover {
  color: #f1d487;
}

.store-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cart-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #f1d487;
  font-size: 17px;
}

.cart-link:hover {
  background: rgba(215, 175, 93, 0.14);
}

.store-hero {
  padding: 104px 20px 56px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 12, 13, 0.96), rgba(9, 12, 13, 0.62)),
    url("../images/hero.png") center/cover;
}

.store-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.store-kicker,
.filter-kicker {
  color: #f1d487;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.store-hero h1 {
  max-width: 700px;
  margin: 14px 0 10px;
  color: #f8f4eb;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.store-hero p {
  max-width: 540px;
  color: rgba(232, 225, 214, 0.76);
}

.store-search {
  width: min(560px, 100%);
  margin-top: 30px;
  padding: 0;
  position: relative;
  align-items: center;
}

.store-search > span {
  position: absolute;
  left: 17px;
  color: #f1d487;
  font-size: 20px;
  transform: rotate(-20deg);
}

#searchInput {
  width: 100%;
  padding: 15px 48px 15px 48px;
  border-radius: 3px;
  border: 1px solid rgba(241, 212, 135, 0.34);
  background: rgba(10, 13, 14, 0.82);
  color: var(--text);
}

.store-search kbd {
  position: absolute;
  right: 14px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--muted);
  font-size: 0.75rem;
}

.store-container {
  width: min(1280px, 100%);
  margin: 0 auto;
  grid-template-columns: 230px 1fr;
  gap: 42px;
  padding: 58px 28px 72px;
}

.filters {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 3px;
  border-color: rgba(241, 212, 135, 0.22);
  background: rgba(18, 22, 23, 0.72);
}

.filter-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-heading h2 {
  margin-top: 5px;
  font-size: 1.6rem;
}

#clearFilters {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #f1d487;
  cursor: pointer;
  font-size: 0.75rem;
}

.filter-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-inputs input {
  border-radius: 3px;
  border-color: rgba(255, 255, 255, 0.12);
}

.store-results {
  min-width: 0;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.store-products .product-card {
  border-radius: 3px;
  border-color: rgba(255, 255, 255, 0.1);
  background: #141819;
}

.store-products .product-image {
  height: 300px;
  background: #202526;
}

.store-products .product-image::before {
  filter: blur(24px) brightness(0.52) saturate(0.65);
}

.store-products .product-image::after {
  background: linear-gradient(135deg, rgba(5, 7, 8, 0.32), rgba(5, 7, 8, 0.7));
  mix-blend-mode: multiply;
}

.store-products .product-image img {
  padding: 16px;
  filter: brightness(0.76) contrast(1.08) saturate(0.7);
}

.product-number {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  color: #f1d487;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.store-products .product-content {
  min-height: 210px;
  padding: 20px;
}

.store-products .product-content h3 {
  color: #f8f4eb;
  font-size: 1.05rem;
}

.store-products .product-content p {
  min-height: 42px;
  color: rgba(232, 225, 214, 0.64);
}

.store-products .price {
  margin: 0 0 16px;
  font-size: 1.3rem;
}

.store-products .product-actions {
  opacity: 1;
  transform: none;
  align-items: center;
}

.store-products .cart-btn {
  border-radius: 3px;
  background: #f1d487;
  color: #151311;
}

.wishlist-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 212, 135, 0.36);
  color: #f1d487;
  font-size: 1.35rem;
}

.wishlist-btn:hover {
  background: rgba(241, 212, 135, 0.14);
}

.pagination {
  margin: 0 auto 70px;
}

@media (max-width: 980px) {
  .store-header-inner {
    padding-inline: 20px;
  }

  .store-container {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .store-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .store-header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .store-header-inner .logo img {
    width: 104px;
  }

  .store-header-inner nav {
    display: none;
  }

  .store-hero {
    padding: 72px 20px 42px;
  }

  .store-container {
    padding: 38px 20px 56px;
  }

  .store-products {
    grid-template-columns: 1fr;
  }

  .results-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
}

/* Keep product artwork true to its original colors. */
.store-products .product-image::after {
  background: transparent;
  mix-blend-mode: normal;
}

.store-products .product-image img {
  filter: none;
}