/**
 * AA WRITER Frontend Product Card Styles
 * These styles are added inline with the product cards for SEO-friendly display
 */

/* Product Section Container */
.aawriter-product-section {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border-left: 4px solid #ff9900;
}

.aawriter-product-section h3 {
  margin: 0 0 10px 0;
  font-size: 1.3em;
  color: #232f3e;
}

.aawriter-affiliate-disclosure {
  font-size: 0.85em;
  color: #666;
  margin: 0 0 20px 0;
  padding: 10px 15px;
  background: rgba(255, 153, 0, 0.1);
  border-radius: 6px;
}

/* Product Grid */
.aawriter-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Individual Product Card */
.aawriter-product-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.aawriter-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.aawriter-product-info {
  padding: 20px;
}

.aawriter-product-info h4 {
  margin: 0 0 10px 0;
  font-size: 1.1em;
  color: #232f3e;
  line-height: 1.4;
}

.aawriter-product-desc {
  color: #666;
  font-size: 0.9em;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.aawriter-product-features {
  margin: 0 0 15px 0;
  padding-left: 20px;
  color: #555;
  font-size: 0.9em;
}

.aawriter-product-features li {
  margin-bottom: 5px;
}

/* Buy Button */
.aawriter-buy-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff9900 0%, #e88900 100%);
  color: white !important;
  text-decoration: none !important;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.2s;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.aawriter-buy-btn:hover {
  background: linear-gradient(135deg, #e88900 0%, #d67a00 100%);
  transform: scale(1.02);
  color: white !important;
}

/* Responsive */
@media (max-width: 600px) {
  .aawriter-product-grid {
    grid-template-columns: 1fr;
  }

  .aawriter-product-section {
    padding: 20px 15px;
  }
}

/* Region indicator */
.aawriter-product-region {
  font-size: 0.8em;
  color: #28a745;
  margin: 0 0 12px 0;
  font-weight: 500;
}

/* Stylized Amazon CTA Button */
.aawriter-amazon-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
  color: #000 !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.35);
}

.aawriter-amazon-cta:hover {
  background: linear-gradient(135deg, #ffb347 0%, #ff9900 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 153, 0, 0.45);
  color: #000 !important;
}

.aawriter-amazon-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

.aawriter-cta-icon {
  font-size: 1.1em;
}

.aawriter-cta-text {
  flex: 1;
  text-align: center;
}

.aawriter-cta-arrow {
  transition: transform 0.2s ease;
  font-weight: normal;
}

.aawriter-amazon-cta:hover .aawriter-cta-arrow {
  transform: translateX(4px);
}
