/* ==========================================================================
   LavaFly Lanzarote – Shop Page Styles
   ========================================================================== */

/* ---------- Hero / Banner ---------- */
.shop-banner {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 500px;
  background: url('../img/shop-banner.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.shop-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
}

.shop-banner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 20px;
}

.shop-banner-content h1 {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.shop-banner-content .banner-divider {
  width: 80px;
  height: 2px;
  background: #fff;
  margin: 0 auto 18px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.shop-banner-content p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* ---------- Category Filter ---------- */
.shop-filter-bar {
  background: #f7f7f7;
  padding: 36px 20px 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-filter-btn {
  background: none;
  border: 1.5px solid #bbb;
  color: #666;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 8px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shop-filter-btn:hover {
  border-color: #484E54;
  color: #484E54;
}

.shop-filter-btn.active {
  background: #484E54;
  border-color: #484E54;
  color: #fff;
}

/* ---------- Products Grid Section ---------- */
.shop-grid-section {
  background: #f7f7f7;
  padding: 20px 20px 80px;
}

.shop-products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ---------- Product Card ---------- */
.shop-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.shop-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Image Wrapper */
.shop-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f0f0f0;
}

.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-product-card:hover .shop-card-img img {
  transform: scale(1.06);
}

/* Badge (e.g. "NEW", "POPULAR") */
.shop-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ad5e3c;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  z-index: 2;
}

/* Quick-view overlay icon */
.shop-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.shop-product-card:hover .shop-card-overlay {
  opacity: 1;
}

.shop-card-overlay svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* Card Body */
.shop-card-body {
  padding: 20px 22px 24px;
}

.shop-card-category {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ad5e3c;
  margin: 0 0 6px 0;
}

.shop-card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.shop-card-price {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: #484E54;
  margin: 0 0 16px 0;
}

.shop-card-price .price-old {
  font-size: 0.85rem;
  font-weight: 400;
  color: #aaa;
  text-decoration: line-through;
  margin-left: 8px;
}

/* Add-to-cart button */
.shop-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #484E54;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 11px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.shop-card-btn:hover {
  background: #ad5e3c;
  transform: scale(1.03);
}

.shop-card-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- Shop Info Strip ---------- */
.shop-info-strip {
  background: #484E54;
  color: #fff;
  padding: 40px 20px;
}

.shop-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.shop-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.shop-info-item svg {
  width: 32px;
  height: 32px;
  stroke: #ad5e3c;
  fill: none;
  stroke-width: 1.5;
}

.shop-info-item .info-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.shop-info-item .info-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ---------- Hidden state for filtering ---------- */
.shop-product-card.hidden {
  display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .shop-banner {
    height: 55vh;
    min-height: 350px;
  }

  .shop-products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 420px;
  }

  .shop-info-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .shop-filter-bar {
    gap: 8px;
    padding: 28px 14px 16px;
  }

  .shop-filter-btn {
    padding: 6px 16px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .shop-info-inner {
    grid-template-columns: 1fr;
  }
}
