/* ============================================================
   ELITE TILE TOOLS — PRODUCTS PAGE STYLES
   Additional styles on top of css/style.css
   ============================================================ */

/* ─── Page body override — keep header always solid ─── */
.page-products .site-header {
  background: var(--charcoal);
  box-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

/* Nav active link */
.nav-active {
  color: var(--gold) !important;
  font-weight: 600;
}

/* ─── SHOP HERO ─── */
.shop-hero {
  background: var(--charcoal);
  padding: 9rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.shop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.shop-hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.shop-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--cream);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.shop-hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.shop-hero-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border) 30%, var(--gold-border) 70%, transparent);
  margin-top: 3.5rem;
}

/* ─── FILTER BAR ─── */
.shop-bar {
  background: var(--charcoal-2);
  border-bottom: 1px solid var(--gold-border);
  position: sticky;
  top: 68px;
  z-index: 100;
  padding: 0.9rem 0;
}

.shop-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  border: 1px solid var(--gold-border);
  background: transparent;
  color: var(--light);
  cursor: pointer;
  transition: all 0.2s;
}

.pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
}

.shop-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mid);
  white-space: nowrap;
}

/* ─── SHOP MAIN ─── */
.shop-main {
  background: var(--charcoal);
  padding: 3.5rem 0 5rem;
  min-height: 60vh;
}

/* ─── PRODUCT GRID ─── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

/* ─── PRODUCT CARD ─── */
.shop-card {
  background: var(--charcoal-2);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.12);
}

/* Featured / highlighted card */
.shop-card--featured {
  border-color: rgba(212,175,55,0.4);
}

.shop-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.15);
  pointer-events: none;
}

/* Badge */
.shop-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
}

/* Image zone */
.shop-card-image {
  position: relative;
  height: 190px;
  background: var(--charcoal-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shop-card-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--charcoal-2));
}

.shop-card-img-bg {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 50%;
  padding: 1.2rem;
}

.shop-card-img-bg svg {
  width: 100%;
  height: 100%;
}

/* Category tag on image */
.shop-card-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  z-index: 3;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(20,20,20,0.75);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(4px);
}

/* Card body */
.shop-card-body {
  padding: 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.shop-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0;
  line-height: 1.3;
}

.shop-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--light);
  line-height: 1.65;
  margin: 0;
}

/* Spec list */
.shop-card-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid var(--gold-border);
  padding-top: 0.75rem;
}

.shop-card-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.73rem;
  line-height: 1.4;
}

.spec-key {
  color: var(--mid);
  font-weight: 500;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.spec-val {
  color: var(--cream);
  font-weight: 400;
  text-align: right;
}

/* Card footer */
.shop-card-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-border);
}

.btn-sm {
  font-size: 0.72rem !important;
  padding: 0.5rem 1.1rem !important;
  letter-spacing: 0.08em;
}

.shop-enquire-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.shop-enquire-link:hover {
  color: var(--gold-light);
}

/* Empty state */
.shop-empty {
  text-align: center;
  padding: 5rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--mid);
}

/* Card hide state for filtering */
.shop-card.hidden {
  display: none;
}

/* ─── TRADE CTA ─── */
.shop-cta {
  background: var(--charcoal-2);
  border-top: 1px solid var(--gold-border);
  padding: 4rem 0;
}

.shop-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.shop-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--cream);
  margin: 0.5rem 0 0.75rem;
}

.shop-cta-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: var(--light);
  max-width: 480px;
  line-height: 1.65;
  margin: 0;
}

.shop-cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ─── AOS ANIMATION ─── */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-aos].aos-in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .shop-hero {
    padding: 8rem 1.5rem 3rem;
  }

  .shop-bar {
    top: 0;
  }

  .shop-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .shop-main {
    padding: 2.5rem 0 4rem;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .shop-card-image {
    height: 160px;
  }

  .shop-cta-inner {
    flex-direction: column;
  }

  .shop-cta-actions {
    width: 100%;
  }

  .shop-cta-actions .btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .filter-pills {
    gap: 0.35rem;
  }

  .pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
  }
}
