div#tire-detail-container {
    position: relative; /* Essential: creates a boundary for the absolute background */
    width: 100%;
    color: #333333;      /* Text remains completely solid and readable */
    z-index: 1;
    padding-top: 10px;
}

#tire-detail-container p {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1.3em;
}

#tire-detail-container .text-left-image-right,
#tire-detail-container .image-left-text-right {
    display: flex;
    align-items: flex-start; /* Aligns content to top */
    gap: 2rem;               /* Space between image and text */
}

#tire-detail-container .text-left-image-right {
    margin-top: -20px;
}

#tire-detail-container .text-left-image-right img {
    max-width:185px;        /* Adjust base size as needed */
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-right: 30px;
    margin-top: 25px;
}

#tire-detail-container .image-left-text-right img {
    max-width:120px;        /* Adjust base size as needed */
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-left: 30px;
    margin-top: 15px;
}

.image-left-text-right .wrapped-text {
    margin-left: -20px;
}

.text-left-image-right .wrapped-text {
    margin-right: -35px;
}

.image-left-text-right p {
    padding-left: 0;
}

.wrapped-text {
    flex: 1;                 /* Takes up remaining available width */
}

#tire-detail-container h3 {
    text-align: center;
    color: #008dca;
    margin-top: 30px;
}

#tire-detail-container::before {
    background-image: url('/images/FLS.Mkt.Website.Tires.Tires in rack.jpg');
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;       /* Sets the background image to 10% opacity */
    z-index: -1;    
}

#tire-detail-container .detail-dni-images-container {
    display: flex;
    flex-wrap: wrap;           
    justify-content: center;  
    align-items: flex-start; 
    margin: 30px auto 30px;    
}

#tire-detail-container .detail-dni-images-container img#tires-italy-dni {
    width: 100%;
    max-width: 360px;
    margin-top: 90px;
    margin-left: -110px;
    margin-bottom: 40px;
    z-index: 2;
}

#tire-detail-container .detail-dni-images-container img#tires-spain-dni {
    width: 100%;
    max-width: 380px;
    z-index: 1;
}

#tire-detail-container .detail-dni-images-container img#solargis-dni-scale {
    width: 100%;              
    max-width: 600px;          
    height: auto;
    margin: 30px auto 0; 
    flex-basis: 100%;
}

#tire-solar-thermal-table {
    width: 90%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 14px;
    text-align: left;
    border: 1px solid #777777;
    margin-left: auto;         
    margin-right: auto;        
    margin-top: 20px;
}

/* Header Configurations */
#tire-solar-thermal-table thead tr {
    background-color: #d1f7ff;
    border-bottom: 2px solid #777777;
}

#tire-solar-thermal-table th {
    padding: 10px;
    font-weight: bold;
    border: 1px solid #777777;
}

/* Body and Row Configurations */
#tire-solar-thermal-table td {
    padding: 12px 10px;
    border: 1px solid #777777;
}

/* Zebra Striping for Alternating Rows */
#tire-solar-thermal-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

#tire-solar-thermal-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Helper & Subtext Utility Classes */
#tire-solar-thermal-table .text-center {
    text-align: center;
}

#tire-solar-thermal-table .unit {
    font-size: 12px;
    font-weight: normal;
}
