/*
 Theme Name: Astra Child
 Template: astra
*/

  :root {
    --primary-color: #004488;
    /* Dark Blue for professionalism */
    --secondary-color: #F0F4F8;
    /* Light Gray/Blue background */
    --text-color: #333333;
    --accent-color: #E67E22;
    /* Orange for highlights/CTAs */
    --success-color: #28a745;
    /* Green for prices/pros */
    --border-radius: 8px;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  }

  .guide-wrapper {
    font-family: var(--font-family);
    color: var(--text-color);
    max-width: 950px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
  }

  h1 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
  }

  h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 45px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
  }

  h3 {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .intro-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: var(--border-radius);
  }

  .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
  }

  .product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 280px;
    /* Fixed width for uniformity */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .product-image-container {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
  }

  .product-image-container img {
    max-width: 100%;
    height: 200px;
    /* Fixed height for images */
    object-fit: contain;
    /* Ensures the whole image is visible */
  }

  .product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .product-name {
    margin-bottom: 15px;
  }

  .product-name a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1em;
  }

  .product-name a:hover {
    color: var(--primary-color);
  }

  .product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--success-color);
  }

  .price-normal {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8em;
    font-weight: normal;
    margin-left: 8px;
  }

  .pros-cons {
    margin-top: 15px;
    font-size: 0.9em;
    flex-grow: 1;
  }

  .pros-cons ul {
    list-style: none;
    padding: 0;
  }

  .pros-cons li {
    margin-bottom: 5px;
  }

  .pros-cons li.pro::before {
    content: '✅';
    margin-right: 10px;
  }

  .pros-cons li.con::before {
    content: '❌';
    margin-right: 10px;
  }

  .buy-button-container {
    padding: 0 20px 20px 20px;
    margin-top: auto;
  }

  .buy-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: background-color 0.3s ease;
  }

  .buy-button:hover {
    background-color: var(--accent-color);
  }

  /* Comparison Table Styling */
  table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .comparison-table thead tr {
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: left;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
  }

  .comparison-table tbody tr {
    border-bottom: 1px solid #dddddd;
  }

  .comparison-table tbody tr:nth-of-type(even) {
    background-color: var(--secondary-color);
  }

  .comparison-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--primary-color);
  }

  .comparison-table a {
    color: var(--primary-color);
    text-decoration: none;
  }

  .comparison-table a:hover {
    text-decoration: underline;
  }

  /* Highlight Section Styling */
  .highlight-section {
    background-color: #FFFBEB;
    /* Light yellow background */
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 40px;
  }

  .highlight-section h2 {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .product-grid {
      justify-content: center;
    }
    .product-card {
      width: 100%;
      max-width: 350px;
    }
  }