.cross-reference-page {
    width: 100%;
    min-height: 100px;
    background: #f4f4f4;
    color: #000;
    margin: 0 auto;
}

.cross-reference-page .pt10 {
    padding-top: 10px;
}

.container {
    width: 1400px;
    margin: 0 auto;
}

.cross-reference-page .cross-reference-container {
    padding-top: 15px;
    padding-bottom: 50px;
}

.cross-sections {
    width: 100%;
    text-align: center;
}

.title-desc {
    font-size: 16px;
}

.cross-reference-page h2 {
    font-size: 26px;
}

.section-1-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-bottom: 30px;
}

.section-1-card {
    display: flex;
    /* align-items: center; */
    padding: 20px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.section-1-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.section-1-card-img {
    flex-shrink: 0;
    width: 40px;
    height: 100%;
    margin-right: 15px;
    display: flex;
    align-items: self-start;
}

.section-1-card-img img {
    width: 100%;
    object-fit: contain;
}

.section-1-card-content {
    flex: 1;
}

.section-1-card-content h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #cc0000;
    padding-bottom: 5px;
    border-bottom: 2px solid #ccc;
    line-height: 20px;
    text-align: left;

}

.section-1-card-content p {
    margin: 0;
    font-size: 14px;
    color: #848383;
    line-height: 1.6;
    text-align: left;
}

.section-2-section {
    border-top: 1px solid #ccc;
    padding: 30px 0;
    background: url(/dist/img/aboutBg.webp);
    width: 100%;
    color: #fff;
}

.section-2-container {
    margin-top: 30px;
    width: 100%;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.section-2-content {
    padding: 15px 0;
}

.section-2-input {
    width: 880px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px 0;
}

.section-2-input input {
    flex-grow: 1;
    -webkit-appearance: none;
    font-size: inherit;
    line-height: 48px;
    padding: 0 15px;
    outline: 0;

    background: #fff;
    box-sizing: border-box;
    border-radius: 5px 0 0 5px;
    border: 1px solid #fff;
}

.section-2-input input:focus {
    border-color: #1e6ffa;
    box-shadow: 0 0px 9px #1e6ffa;
}

.section-2-input .substitutes-btn {
    width: 100px;
    height: 50px;
    background: url(/dist/img/so-btn.png) #c00 no-repeat center / 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.section-2-input .substitutes-btn:hover {
    background: url(/dist/img/so-btn.png) rgba(190, 0, 0, .85) no-repeat center / 20px;
}

.alternative-text {
    margin-top: 25px;
    font-family: CAI978;
    font-size: 16px;
}


.substitute-products-section h2{
    text-align: left;
}

.substitute-content{
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-3-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.section-3-card {
    display: flex;
    flex-direction: column;
    height: 280px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 16px;
    text-decoration: none; 
    color: inherit;
    cursor: pointer; 
}

.section-3-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.section-3-card .card-img {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: all .6s;
}

.section-3-card .card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all .6s;

}

.section-3-card .card-img img:hover{
    transform: scale(1.2);
}

.section-3-card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.section-3-card .card-desc {
    margin-top: 5px;
    font-size: 16px;
    color: #848383;
    line-height: 1.5;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-btn {
    width: 100%;
    padding: 10px 0;
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
     display: block;
    text-align: center;
    margin-top: auto;
}

.card-btn:hover {
    background: #aa0000;
}


.loading-container{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.loading-img{
    animation: rotation 2s infinite linear;
    width: 50px;
}
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}