.product-page {
    padding: 40px;
    display: flex;
    justify-content: center;
}

.product-container {
    display: flex;
    gap: 30px;
/*    max-width: 800px;
*/    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-details {
    max-width: 800px;
}
/*
.product-title {
    font-size: 2rem;
    color: #333;
}

.product-author {
    font-size: 1.25rem;
    color: #777;
    margin-bottom: 20px;
}
*/
.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.purchase-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.purchase-buttons {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Centers the button vertically if needed */
    margin-top: 20px; /* Adds space above the button */
}

.price-info p {
    font-size: 1.1rem;
    margin: 5px 0;
}

.btn-primary {
    padding: 12px 24px;
    font-size: 1rem;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #45a049;
}

/***/
.book-description-container {
/*    background-color: #f9f9f9;
*/    padding: 20px;
/*    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
*/    margin-top: 20px;
}

.callout {
    font-size: 1.4rem;
    font-weight: bold;
    color: #97bb6d;
    text-align: center;
    margin-bottom: 15px;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.book-features {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.book-features li {
    margin-bottom: 10px;
}

.product-header {
    display: flex;
    align-items: baseline; /* Aligns text along their baseline */
    gap: 8px; /* Optional: Adds spacing between the title and author */
}

.product-title {
    margin: 0; /* Remove default margin to prevent misalignment */
}

.product-author {
    font-size: 1.0rem; /* Optional: Adjust size relative to the title */
    color: #555; /* Optional: Add subtle color for distinction */
}

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f8f9fa; /* Light background */
  padding: 10px 20px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  border-top: 1px solid #ddd; /* Optional: border for separation */
  z-index: 9999; /* Ensures the bar stays above other elements */
}

.sticky-bar .container {
  max-width: 1200px;
  margin: 0 auto;
}

.sticky-bar span {
  font-size: 1rem;
  color: #333;
}

.sticky-bar .btn {
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sticky-bar .btn:hover {
  background-color: #0056b3;
}


@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    .product-details {
        text-align: center;
    }
}
