/* ============================================
   BEANWISE — pages.css (inner pages)
   ============================================ */

/* PAGE HERO */
.page-hero {
  padding: 80px 32px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}
.page-hero--contact  { background: linear-gradient(135deg, #1a0d05 0%, #4a2c0a 100%); }
.page-hero--coffee   { background: linear-gradient(135deg, #1c0a02 0%, #6b3d14 100%); }
.page-hero--tea      { background: linear-gradient(135deg, #0a1a0a 0%, #2d6b4a 100%); }
.page-hero--equip    { background: linear-gradient(135deg, #0a0a1a 0%, #1a1a4a 100%); }
.page-hero--sale     { background: linear-gradient(135deg, #2c0a0a 0%, #922b21 100%); }
.page-hero--best     { background: linear-gradient(135deg, #1c1005 0%, #c8874c 100%); }

.page-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1;
}
.page-hero p { font-size: 16px; opacity: 0.8; }

/* PRODUCT GRID */
.product-grid-section {
  padding: 60px 32px;
  background: var(--color-light);
}
.product-grid-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--color-espresso);
  margin-bottom: 32px;
  text-align: center;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.product-card {
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card-body { padding: 18px; }
.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: 4px;
}
.product-card-body .brand { font-size: 12px; color: var(--color-warm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.product-card-body .price { font-size: 18px; font-weight: 700; color: var(--color-brown); }
.product-card-body .price-old { font-size: 14px; color: var(--color-gray); text-decoration: line-through; margin-right: 6px; }
.product-card-body .badge-sale { display: inline-block; background: var(--color-red); color: white; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 3px; margin-bottom: 6px; }
.add-to-cart {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: var(--color-espresso);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.add-to-cart:hover { background: var(--color-coffee); }

/* FILTER BAR */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}
.filter-btn {
  padding: 8px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-dark);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-espresso);
  color: var(--color-white);
  border-color: var(--color-espresso);
}

/* CONTACT FORM */
.contact-form-section {
  padding: 60px 32px;
  background: var(--color-cream);
}
.contact-form-inner {
  max-width: 700px;
  margin: 0 auto;
}
.contact-form-inner h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-espresso);
  margin-bottom: 8px;
}
.contact-form-inner p { color: var(--color-gray); margin-bottom: 32px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--color-brown); letter-spacing: 0.05em; }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 16px;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
  background: var(--color-white);
  color: var(--color-dark);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-warm); }
.form-group textarea { resize: vertical; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Product uploaded photo - fills full card image area */
.product-card-img {
    position: relative;
    overflow: hidden;
}
.product-card-img img.prod-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.product-card:hover .product-card-img img.prod-photo {
    transform: scale(1.04);
}
.product-card-img .emoji-icon {
    font-size: 56px;
    line-height: 1;
    position: relative;
    z-index: 1;
}
