.apm-product-modules {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 20px 0;
}

.apm-product-item {
    display: flex;
    flex-direction: row;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
    align-items: center;
}

.apm-product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.apm-product-image {
    width: 100px;
    min-width: 100px;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.apm-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apm-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    justify-content: space-between;
}

.apm-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.apm-product-name a {
    color: #333;
    text-decoration: none;
}

.apm-product-name a:hover {
    color: #0073aa;
}

.apm-product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 10px;
}

.apm-product-price {
    font-size: 13px;
    font-weight: bold;
    color: #e74c3c;
}

.apm-buy-now {
    display: inline-block;
    padding: 4px 8px;
    background: black;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s;
}

.apm-buy-now:hover {
    background: #333;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .apm-product-image {
        width: 80px;
        min-width: 80px;
        height: 80px;
    }
    
    .apm-product-info {
        padding: 8px 10px;
    }
    
    .apm-product-name {
        font-size: 12px;
    }
    
    .apm-product-price {
        font-size: 12px;
    }
}

.apm-product-item {
    display: flex;
    flex-direction: row;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.apm-product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.apm-product-image {
    width: 100px;
    min-width: 100px;
    height: 100px;
    overflow: hidden;
}

.apm-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apm-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    position: relative;
}

.apm-product-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.apm-product-name a {
    color: #333;
    text-decoration: none;
}

.apm-product-name a:hover {
    color: #0073aa;
}

.apm-product-price {
    font-size: 12px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: auto;
}

.apm-buy-now {
    display: inline-block;
    padding: 4px 8px;
    background: black;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    align-self: flex-end;
    transition: background 0.2s;
}

.apm-buy-now:hover {
    background: #333;
    color: #fff;
}

.apm-product-image {
    width: 70px;
    min-width: 70px;
    height: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid lightgray;
    margin-left: 10px;
}

.apm-buy-now:hover {
    background: #005a87;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .apm-product-image {
        width: 120px;
        min-width: 120px;
        height: 120px;
    }
    
    .apm-product-info {
        padding: 10px;
    }
    
    .apm-product-name {
        font-size: 14px;
    }
    
    .apm-product-price {
        font-size: 16px;
    }
}
