/* Reset and base styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ede8dd;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Product Detail Section */
.product-detail-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 30px 20px;
    gap: 40px;
    border-radius: 10px;
    max-width: 1000px;
    margin: 30px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.product-detail-image img {
    max-width: 320px;
    width: 80%;
    border-radius: 10px;
    object-fit: contain;
}

.product-detail-info {
    max-width: 500px;
    padding: 10px;
    text-align: left;
}

.product-category {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 8px;
    color: #790502;
}

.product-detail-info h2 {
    font-size: 1.6em;
    margin-bottom: 12px;
    color: #790502;
}

.product-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: #333;
}

/* Red Buttons */
.button-red {
    background-color: #c11520;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin: 8px 8px 0 0;
    font-size: 0.95em;
    transition: background 0.3s, transform 0.3s;
}

.button-red:hover {
    background-color: #a10f18;
    transform: translateY(-2px);
}

/* Accordion for specifications */
.accordion {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 700px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-title {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    background-color: #ffffff;
    color: #333;
    transition: background 0.3s;
}

.accordion-title:hover {
    background-color: #f1f1f1;
}

.accordion-content {
    padding: 15px 20px;
    display: none;
    background-color: #ffffff;
    font-size: 0.95em;
}

.accordion-content.active {
    display: block;
}
.back-link {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.back-link a {
    color: #790502;
    font-weight: bold;
    font-size: 1em;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    transition: color 0.3s ease;
}

.back-link a::before {
    
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -18px;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease;
}

.back-link a:hover {
    color: #c11520;
}

.back-link a:hover::before {
    opacity: 1;
    left: -25px;
}


/* Responsive adjustments */
@media (max-width: 850px) {
    .product-detail-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .product-detail-info {
        text-align: center;
    }
    .product-detail-image img {
        max-width: 280px;
    }
}
