/* Store / catalog page — easyspaces.online */

.store-hero {
  position: relative;
  padding: 3.25rem 0 3.5rem;
  color: #fff;
  background-color: #0A414B;
  background-image:
    linear-gradient(105deg, rgba(10,65,75,0.88) 0%, rgba(10,65,75,0.72) 50%, rgba(10,65,75,0.62) 100%),
    url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.store-hero .crumbs {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.store-hero .crumbs a { color: rgba(255,255,255,0.8); text-decoration: none; }
.store-hero .crumbs a:hover { text-decoration: underline; }
.store-hero .eyebrow { color: #ffb38a; }
.store-hero h1 { color: #fff; }
.store-hero p {
  color: rgba(255,255,255,0.9);
  max-width: 40rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}
.store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ways { background: var(--gray); padding: 2.5rem 0; }
.ways h2 { margin-bottom: 0.75rem; }
.ways > .container > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 46rem;
}
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.way-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(10,65,75,0.04);
}
.way-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.way-card p { color: var(--muted); line-height: 1.65; margin: 0; }

.store-toolbar {
  position: sticky;
  top: 5.7rem;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.cat-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cat-btn {
  padding: 0.45rem 0.85rem;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.375rem;
  min-height: 44px;
  cursor: pointer;
}
.cat-btn:hover { border-color: var(--teal); color: var(--teal); }
.cat-btn[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.cat-count { font-weight: 600; opacity: 0.75; font-size: 0.8rem; }
.search-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: min(100%, 16rem);
}
.search-wrap label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-wrap input {
  border: 2px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  min-height: 44px;
  color: var(--teal-deep);
  font-family: var(--font);
}
.search-wrap input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.store-body { padding: 2.5rem 0 4rem; }
.result-status { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.category-block { margin-bottom: 2.75rem; scroll-margin-top: 12.5rem; }
.category-block h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image {
  background: var(--gray);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-deep);
  padding: 0.85rem 0.95rem 0.35rem;
  line-height: 1.35;
  margin: 0;
}
.product-card h3:only-of-type:last-child { padding-bottom: 1rem; }
.product-meta {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 0 0.95rem 1rem;
  margin: 0;
}
.empty-msg { display: none; color: var(--muted); line-height: 1.7; padding: 1.5rem 0; }
.cta-box {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 1rem;
}
.cta-box h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.cta-box p { color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ways-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .store-toolbar { top: 5.4rem; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
