/* Global styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Banner styles */
.site-banner {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.back-link {
    display: block;
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
    color: #007bff;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Product layout */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.left-column {
    flex: 1;
    min-width: 300px;
}

.right-column {
    flex: 1;
    min-width: 300px;
}

/* Product images */
.product-image {
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

/* Product details */
.product-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.5;
}

.product-price {
    font-size: 24px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.regular-price {
    font-weight: bold;
    color: #333;
}

.sale-price {
    color: #dc3545;
    margin-left: 10px;
}

.regular-price.on-sale {
    text-decoration: line-through;
    color: #666;
    font-weight: normal;
}

.product-info {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.product-info p {
    margin: 12px 0;
    color: #666;
}

.plumberscrib-link {
    display: inline-block;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.2s;
}

.plumberscrib-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.plumberscrib-link img {
    height: 50px;
    width: auto;
}

/* Product description and formatted content */
.product-description {
    background: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.formatted-content {
    line-height: 1.4;
}

.formatted-content h2 {
    margin: 1rem 0 0.8rem;
    font-size: 1.4rem;
}

.formatted-content p {
    margin-bottom: 0.5rem;
}

.formatted-content ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.formatted-content li p {
    margin: 0.2rem 0;
}

/* Search Container */
.search-container {
    text-align: center;
    margin: 20px auto;
    max-width: 400px;
    padding: 0 20px;
}

.search-container input {
    width: 70%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-container button {
    padding: 10px 20px;
    background: #FF6B00;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

.search-container button:hover {
    background: #E65000;
}

/* Footer styles */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-info {
    color: #ccc;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        gap: 30px;
    }

    .left-column,
    .right-column {
        width: 100%;
    }

    .product-title {
        font-size: 24px;
    }

    .product-price {
        font-size: 20px;
    }
}