/* css/shop.css - Shop page specific styles */

/* PAGE HERO */
.page-hero {
  padding-top: 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 80px;
}
@media (max-width: 900px) {
  .page-hero-content {
    padding: 56px 28px;
  }
}
.page-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 20px;
}
.page-h1 em {
  font-style: italic;
  color: var(--gold);
}
.page-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.75;
}

/* FILTER BAR */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  position: sticky;
  top: 72px;
  z-index: 100;
  scrollbar-width: thin;
}
@media (max-width: 900px) {
  .filter-bar {
    padding: 0 20px;
  }
}
.filter-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 18px 24px;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--trans), border-color var(--trans);
}
.filter-btn:hover,
.filter-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* MAIN SECTIONS */
.sec {
  padding: 96px 80px;
}
@media (max-width: 900px) {
  .sec {
    padding: 64px 28px;
  }
}
.sec-alt {
  background: var(--light);
}
.h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}
.h2 em {
  font-style: italic;
  color: var(--gold);
}
.subp {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 560px;
}
.sec-head {
  margin-bottom: 52px;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--trans), transform 0.2s, border-color var(--trans);
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(10, 34, 64, 0.1);
  transform: translateY(-3px);
  border-color: var(--gold-border);
}
.product-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light);
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.product-body {
  padding: 20px;
}
.product-artisan {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.2;
}
.product-origin {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.product-desc {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.btn-add {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--trans);
  font-family: 'Outfit', sans-serif;
}
.btn-add:hover {
  background: var(--gold);
}

/* ARTISAN GRID */
.artisan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 900px) {
  .artisan-grid {
    grid-template-columns: 1fr;
  }
}
.artisan-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.artisan-img {
  height: 240px;
  overflow: hidden;
}
.artisan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.artisan-card:hover .artisan-img img {
  transform: scale(1.04);
}
.artisan-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.artisan-community {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.artisan-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.artisan-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.artisan-bio {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
}

/* WHY SHOP GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
.why-item {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
}
.why-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.why-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* COMING SOON BANNER */
.coming-banner {
  background: var(--gold);
  padding: 60px 80px;
  text-align: center;
}
@media (max-width: 900px) {
  .coming-banner {
    padding: 52px 28px;
  }
}
.coming-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.coming-banner h2 em {
  font-style: italic;
}
.coming-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 32px;
}
.email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .email-form {
    flex-direction: column;
  }
}
.email-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  outline: none;
}
.email-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--trans);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}
.email-btn:hover {
  background: #0D2D4A;
}

/* CART NOTIFICATION */
.cart-notif {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 200;
  border-radius: 4px;
}
.cart-notif.show {
  transform: translateY(0);
  opacity: 1;
}

/* SCROLL REVEAL */
.rev {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s;
}
.rev.in {
  opacity: 1;
  transform: translateY(0);
}
.rev-d1 {
  transition-delay: 0.1s;
}
.rev-d2 {
  transition-delay: 0.2s;
}
.rev-d3 {
  transition-delay: 0.3s;
}